[sqllogictest] Create empty tables#5026
Conversation
|
|
||
| # Should insert into an empty table | ||
| statement ok | ||
| insert into table_without_values values (1, 2), (2, 3), (2, 4); |
| } | ||
|
|
||
| pub(crate) fn build_schema(&self, columns: Vec<SQLColumnDef>) -> Result<Schema> { | ||
| pub fn build_schema(&self, columns: Vec<SQLColumnDef>) -> Result<Schema> { |
There was a problem hiding this comment.
I think this is fine to make public 👍
|
I really appreciate your efforts to drive sqllogictests forward @melgenek -- it is great working with you |
|
Benchmark runs are scheduled for baseline = 64714ee and contender = 25ab1f9. 25ab1f9 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
|
Cool, thanks @melgenek |
Which issue does this PR close?
Closes #4396.
Rationale for this change
What changes are included in this PR?
The change allows the creation of empty tables in sqllogictest.
Are these changes tested?
Github Actions run sqllogictest.
Are there any user-facing changes?
Planner's
build_schemawas made public. I am not sure if this is a problem.@xudong963 @mvanschellebeeck