Skip to content

Commit

Permalink
Fix CI_test #139.7 failed
Browse files Browse the repository at this point in the history
  • Loading branch information
isublimity committed Jul 2, 2018
1 parent 0c9312f commit e5eba85
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 11 deletions.
25 changes: 16 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -873,26 +873,33 @@ MIT

ChangeLog
---------
### 2018-07-02
### 2018-07-02 [Release 1.1.0]


New:
* `$client->getServerUptime()` Returns the server's uptime in seconds.
* `$client->getServerSystemSettings()` Read system.settings table and return array
* Deprecated `StreamInsert` class
* Add `streamWrite()` function
* Add `streamRead()` function
* `$client->streamWrite()` function
* `$client->streamRead()` function


Warning:
* Now default enable`HttpCompression` set true
* Deprecated `StreamInsert` class

Fix:
* Fix `rawData()` result in `JSONCompact & JSONEachRow` format
* Fix Statement - unnecessary memory usage
* Fix support php5.6
* Release 1.1.0


### 2018-06-29

### 2018-06-29 [Release 1.0.1]
* Do not convert int parameters in array to string in Bindings [pull 67](https://github.com/smi2/phpClickHouse/pull/67)
* Release 1.0.1
*

### 2018-06-25
* Use Semantic versioning & Release 1.0.0
### 2018-06-25 [Release 1.0.0]
* Use Semantic versioning


### 2018-06-22
Expand Down
8 changes: 6 additions & 2 deletions tests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -839,10 +839,14 @@ public function testInsertArrayTable()

$this->assertGreaterThan(0, $state->totalTimeRequest());

$state = $this->client->select('SELECT s_arr,s_key FROM arrays_test_ints ARRAY JOIN s_arr ORDER BY s_key');
$state = $this->client->select('SELECT s_arr,s_key FROM arrays_test_ints ARRAY JOIN s_arr ');

$this->assertEquals(4, $state->count());
$this->assertArraySubset([['s_arr' => 11,'s_key' => 'HASH1']], $state->rows());

$state = $this->client->select('SELECT s_arr,s_key FROM arrays_test_ints ARRAY JOIN s_arr WHERE s_key=\'HASH1\' AND s_arr=33 ORDER BY s_arr,s_key');

$this->assertEquals(1, $state->count());
$this->assertEquals([['s_arr' => 33,'s_key' => 'HASH1']], $state->rows());
}

public function testInsertTableTimeout()
Expand Down

0 comments on commit e5eba85

Please sign in to comment.