kak-clickhouse icon indicating copy to clipboard operation
kak-clickhouse copied to clipboard

Yii2 ext. ClickHouse

Results 12 kak-clickhouse issues
Sort by recently updated
recently updated
newest added

Need to reload parent queryScalar() method in case it refer on yii/db/Query object in last return statement instead of static instance. It leads to errors in createCommand next call because...

During inheritance of Iterator: Uncaught yii\\base\\ErrorException: Return type of kak\\clickhouse\\BatchQueryResult::current() should either be compatible with Iterator::current(): mixed, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in...

Fix ` public function query() { throw new \yii\db\Exception('Clichouse unsupport cursor'); }` to ` public function query() { throw new \yii\db\Exception('Clickhouse unsupported cursor'); }`

In PHP 7.2.25 I see notice: "Notice: fopen(): Content-type not specified assuming application/x-www-form-urlencoded" ErrorException: Notice: fopen(): Content-type not specified assuming application/x-www-form-urlencoded #8 /var/www/td/vendor/yiisoft/yii2-httpclient/src/StreamTransport.php(61): yii\httpclient\StreamTransport::send #7 /var/www/td/vendor/yiisoft/yii2-httpclient/src/Client.php(233): yii\httpclient\Client::send #6 /var/www/td/vendor/yiisoft/yii2-httpclient/src/Request.php(444): yii\httpclient\Request::send...

Реализую выдачу из ClickHouse в GridView с фильтрацией. Соответственно, использую SearchModel, расширяющую модель соответствующей таблицы. В этой SearchModel есть следующий абстрактный код: `$query = Stat::find()->where(['user_string_id' => Yii::$app->user->identity->user_custom_id), 'user_int_id' => Yii::$app->user->identity->user_id,]);`...

This changes will help to work with the "Array" field type without errors. Ряд этих небольших изменений поможет работать с типом поля "Array" без ошибок.

В clickhouse можно создать колонки типа Array(UInt64) или массивы других типов. На данный момент в обертке в частности методе batchInsert нет поддержки таких колонок, было бы не плохо ее сделать.

Fix "Notice: Array to string conversion" if clickhouse table had an array column

Похоже, что не работает обработка таблиц на подобии {{%table_name}}. Запуск миграций выдает следующую ошибку: ``` Yii Migration Tool (based on Yii v2.0.17) Creating migration history table "migration"...Exception 'yii\db\Exception' with message...

К текущему join сделать ExeptionNotSupport так как структура запроса не работоспособная, ждем улучшения со стороны яндекса может они допилят работу join до стандарта новый join будет работать согласно спецификации (по...

pause