You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In explain.slt file we create a table with following statement
statement ok
CREATE EXTERNAL TABLE aggregate_test_100_with_order (
c1 VARCHARNOT NULL,
c2 TINYINT NOT NULL,
c3 SMALLINTNOT NULL,
c4 SMALLINTNOT NULL,
c5 INTEGERNOT NULL,
c6 BIGINTNOT NULL,
c7 SMALLINTNOT NULL,
c8 INTNOT NULL,
c9 INT UNSIGNED NOT NULL,
c10 BIGINT UNSIGNED NOT NULL,
c11 FLOAT NOT NULL,
c12 DOUBLE NOT NULL,
c13 VARCHARNOT NULL
)
STORED AS CSV
WITH HEADER ROW
WITH ORDER (c1 ASC)
LOCATION '../../testing/data/csv/aggregate_test_100.csv';
It says that, table is ordered according to c1 ASC. However, file at path ../../testing/data/csv/aggregate_test_100.csv is not ordered. Since tests with this table checks physical plans, everything works as expected.
However, if we were to run query using this table, we would receive wrong results because contract doesn't hold.
To Reproduce
No response
Expected behavior
I would like to have a new variant of the csv file (../../testing/data/csv/aggregate_test_100.csv), where c1 ASC is satisfied in the file.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
In
explain.slt
file we create a table with following statementIt says that, table is ordered according to
c1 ASC
. However, file at path../../testing/data/csv/aggregate_test_100.csv
is not ordered. Since tests with this table checks physical plans, everything works as expected.However, if we were to run query using this table, we would receive wrong results because contract doesn't hold.
To Reproduce
No response
Expected behavior
I would like to have a new variant of the csv file (
../../testing/data/csv/aggregate_test_100.csv
), wherec1 ASC
is satisfied in the file.Additional context
No response
The text was updated successfully, but these errors were encountered: