Skip to content

Commit 225b3ee

Browse files
committed
better naming
1 parent 9a35412 commit 225b3ee

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

crates/sqllogictest/src/engine/datafusion.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ impl DataFusionEngine {
116116
.create_table(
117117
namespace,
118118
TableCreation::builder()
119-
.name("test_table".to_string())
119+
.name("test_unpartitioned_table".to_string())
120120
.schema(schema)
121121
.build(),
122122
)

crates/sqllogictest/testdata/slts/df_test/insert_into.slt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,44 +17,44 @@
1717

1818
# Verify the table is initially empty
1919
query IT rowsort
20-
SELECT * FROM default.default.test_table
20+
SELECT * FROM default.default.test_unpartitioned_table
2121
----
2222

2323
# Insert a single row and verify the count
2424
query I
25-
INSERT INTO default.default.test_table VALUES (1, 'Alice')
25+
INSERT INTO default.default.test_unpartitioned_table VALUES (1, 'Alice')
2626
----
2727
1
2828

2929
# Verify the inserted row
3030
query IT rowsort
31-
SELECT * FROM default.default.test_table
31+
SELECT * FROM default.default.test_unpartitioned_table
3232
----
3333
1 Alice
3434

3535
# Insert multiple rows and verify the count
3636
query I
37-
INSERT INTO default.default.test_table VALUES (2, 'Bob'), (3, 'Charlie')
37+
INSERT INTO default.default.test_unpartitioned_table VALUES (2, 'Bob'), (3, 'Charlie')
3838
----
3939
2
4040

4141
# Verify all rows
4242
query IT rowsort
43-
SELECT * FROM default.default.test_table
43+
SELECT * FROM default.default.test_unpartitioned_table
4444
----
4545
1 Alice
4646
2 Bob
4747
3 Charlie
4848

4949
# Insert with NULL value and verify the count
5050
query I
51-
INSERT INTO default.default.test_table VALUES (4, NULL)
51+
INSERT INTO default.default.test_unpartitioned_table VALUES (4, NULL)
5252
----
5353
1
5454

5555
# Verify NULL handling
5656
query IT rowsort
57-
SELECT * FROM default.default.test_table
57+
SELECT * FROM default.default.test_unpartitioned_table
5858
----
5959
1 Alice
6060
2 Bob

crates/sqllogictest/testdata/slts/df_test/show_tables.slt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ datafusion information_schema views VIEW
2828
default default test_partitioned_table BASE TABLE
2929
default default test_partitioned_table$manifests BASE TABLE
3030
default default test_partitioned_table$snapshots BASE TABLE
31-
default default test_table BASE TABLE
32-
default default test_table$manifests BASE TABLE
33-
default default test_table$snapshots BASE TABLE
31+
default default test_unpartitioned_table BASE TABLE
32+
default default test_unpartitioned_table$manifests BASE TABLE
33+
default default test_unpartitioned_table$snapshots BASE TABLE
3434
default information_schema columns VIEW
3535
default information_schema df_settings VIEW
3636
default information_schema parameters VIEW

0 commit comments

Comments
 (0)