mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-06 05:12:54 +00:00
chore: fix SQLness test for COPY command from CSV file (#7235)
chore: fix SQLness test for COPY command from CSV file Signed-off-by: StandingMan <jmtangcs@gmail.com>
This commit is contained in:
@@ -42,7 +42,7 @@ CREATE TABLE with_json(host string, cpu double, memory double, jsons JSON, ts ti
|
||||
|
||||
Affected Rows: 0
|
||||
|
||||
Copy with_json FROM '${SQLNESS_HOME}/demo/export/json/demo.json' with (format='json');
|
||||
Copy with_json FROM '${SQLNESS_HOME}/demo/export/csv/demo.csv' with (format='csv');
|
||||
|
||||
Affected Rows: 3
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ select * from with_filename order by ts;
|
||||
|
||||
CREATE TABLE with_json(host string, cpu double, memory double, jsons JSON, ts timestamp time index);
|
||||
|
||||
Copy with_json FROM '${SQLNESS_HOME}/demo/export/json/demo.json' with (format='json');
|
||||
Copy with_json FROM '${SQLNESS_HOME}/demo/export/csv/demo.csv' with (format='csv');
|
||||
|
||||
select host, cpu, memory, json_to_string(jsons), ts from with_json order by ts;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user