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:
Alan Tang
2025-11-15 23:08:13 -08:00
committed by GitHub
parent df954b47d5
commit b1525e566b
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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;