Skip to content

Commit 41168c6

Browse files
author
Илья
committed
Remove commented creation table
1 parent 0e7dd9a commit 41168c6

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

slo-workload/src/Commands/CreateCommand.php

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -80,25 +80,6 @@ public function execute(string $endpoint, string $path, array $options)
8080
"partitionSize" => $partitionSize,
8181
]);
8282

83-
/*$table = new YdbTable();
84-
$partitionSettings = [];
85-
$partitionSettings['partitioning_by_size'] = $partitionSize;
86-
$partitionSettings['min_partitions_count'] = $minPartitionsCount;
87-
$partitionSettings['max_partitions_count'] = $maxPartitionsCount;
88-
$table->partitionSettings($partitionSettings);
89-
$table->addColumn('hash', 'UINT64');
90-
$table->addColumn('id', 'UINT64');
91-
$table->addColumn('payload_str', 'UTF8');
92-
$table->addColumn('payload_double', 'DOUBLE');
93-
$table->addColumn('payload_timestamp', 'TIMESTAMP');
94-
$table->addColumn('payload_hash', 'UINT64');
95-
$table->primaryKey(['hash', 'id']);
96-
$table->compactionPolicy('small_table');
97-
98-
$ydb->table()->retrySession(function (Session $session) use ($table, $tableName) {
99-
$session->createTable($tableName, $table, ['hash', 'id']);
100-
});*/
101-
10283
$yql = "CREATE TABLE `$tableName`
10384
(
10485
`hash` Uint64,

0 commit comments

Comments
 (0)