Skip to content

UNPIVOT command - #24

Merged
Vedin merged 5 commits into
embucket-sync-df47.0.0from
unpivot-final
May 21, 2025
Merged

UNPIVOT command#24
Vedin merged 5 commits into
embucket-sync-df47.0.0from
unpivot-final

Conversation

@Vedin

Copy link
Copy Markdown

Which issue does this PR close?

  • Closes #.

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@Vedin

Copy link
Copy Markdown
Author

Note for the reviewers: test doc fails is currently expected. The clippy error is very weird. I figure it out later. If you want it to be clean I can just exclude this part from clippy for now.

@Vedin
Vedin requested a review from osipovartemMay 21, 2025 13:18
Comment threaddatafusion/sql/src/relation/mod.rs Outdated
let mut builder = LogicalPlanBuilder::from(base_plan.clone())
.project(projection_exprs)?;

if null_inclusion

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: if let Some(NullInclusion::ExcludeNulls) | None = null_inclusion {

Comment threaddatafusion/sql/src/relation/mod.rs Outdated
for column_ident in &columns {
let column_name = column_ident.value.clone();

if let Some(idx) =

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: I personally find it easier to read when with an "exit early" approach, subjectively this can be rewritten as

let idx = ifletSome(i) = base_schema.index_of_column_by_name(None,&column_name){
i
}else{returnplan_err!("Column '{}' not found in input", column_name);};let field = base_schema.field(idx);let field_type = field.data_type();

@Vedin
Vedin merged commit 4eab4d9 into embucket-sync-df47.0.0May 21, 2025
Vedin pushed a commit that referenced this pull request Sep 16, 2025
Make required funcs public (#1)
* Make required funcs public
* Make required funcs public
* Make required funcs public
Extend to_date UDF supported types (#3)
* Extend to_date supported types
* Remove TODO
Add "rlike" as an alias for regexp_like (#2)
* Add "rlike" as an alias for regexp_like
* Update docs
Extend references with new ShowSchemas type (#4)
* Extend references with new SHowSchemas type
* Make resolve_table_ref as pub
* Fix docs linter
Implement regexp_substr (#6)
* Extend references with new SHowSchemas type
Make resolve_table_ref as pub
Fix docs linter
Add DDL AlterTable
Add DDL AlterTable
Add "rlike" as an alias for regexp_like (#2)
* Add "rlike" as an alias for regexp_like
* Update docs
Extend references with new ShowSchemas type (#4)
* Extend references with new SHowSchemas type
* Make resolve_table_ref as pub
* Fix docs linter
Fix deps
Import alter table
Temp
Temp
Add regexp_substr udf
Add regexp_substr udf
Add regexp_substr udf
Add regexp_substr udf
* Add regexp_substr to docs
* Update comments and fix returned datatype
* Update docs
Make statements publci (#7)
Make context public (#9)
* Make conext public
* Fix clippy
DFParser should skip unsupported COPY INTO (#10)
Skip CREATE STAGE by DFParser (pass to dialect parser) (#11)
* DFParser should skip unsupported COPY INTO
* Add tests
* Add tests
* Add tests
* Add tests
* Fmt
* Fmt
* Fmt
Extend references with new Show* types (#14)
Add e flag support (#16)
* Add e flag support
* Add e flag support
* fix fmt
* clippy
return Int64 instead of UInt64 when returning count (#17)
Revert commit: 314a726 (#18)
* Revert "return Int64 instead of UInt64 when returning count (#17)"
This reverts commit 314a726.
* revert changes as of a bad approach use
Bump sqlparser version to 0.55. Fixes after rebase
named arguments for table functions (#20)
TableFunction Fixes (#23)
* TableFunction Fixes
* Also fix tests after rebase
* Taplo format
* Clippy
* Fix docs
PIVOT command (#22)
* Pivot initial changes
* Polishing
* Rebase fixes
* Add slt tests
* Add display for PIVOT
* Only check projections in case of subqueries
* Add builder test
* Add default on null. Cargo fmt
* Add default_on_null to proto and tests
* Fix protoc and clippy
* Cargo fmt
Update parser version (#26)
Fix incompatible type in IS NOT DISTINCT filter for PIVOT (#25)
* Fix incompattible type in IS NOT DISTINCT filter
* Cargo fmt
* Cargo clippy
UNPIVOT command (#24)
* UNPIVOT command implementation
* UNPIVOT command
* Add slt tests
* Taplo and cargo fmt
* Resolve comments
Update sql-parser
Update parser
update parser with fetch (#28)
Enhance string concat coercion to support castable types (#27)
* Allow any stringle types for concatination
* Fix fmt
Added basic support for table functions in relations (#29)
* Add basic support for flatten join
* Fix outer
Update sqlparser-version
Get table function in ascii lowercase (#30)
* Get table function in ascii lowercase
* Get table function in ascii lowercase
Update parser version
Update parser
Allow boolean vs integer comparison (#31)
* Allow comparison between boolean and int values
* Allow comparison between boolean and int values
* Add integer types
* clippy+fmt+tests fix
* tests fix
* Fix incompatible types test
* Fix slt test
* Fix docs
Fix unpivot. Columns result always in uppercase (#32)
Update parser (#33)
* Update parser
* Update version
* Update parser and external table
* Fix external table
* Fix external table
`QUALIFY` clause implementation (#34)
* Implement clause
* Remove comment
* Remove unimplemented
Support projection in subquery with IN clause (#35)
Update parser with SECURE keyword for views (#36)
* Update parser with SECURE keyword for views
* update rustc version for compatibility
Decorellate subqueries in IN inside JOIN filter and Aggregates (#37)
JanKaul pushed a commit that referenced this pull request Oct 17, 2025
Make required funcs public (#1)
* Make required funcs public
* Make required funcs public
* Make required funcs public
Extend to_date UDF supported types (#3)
* Extend to_date supported types
* Remove TODO
Add "rlike" as an alias for regexp_like (#2)
* Add "rlike" as an alias for regexp_like
* Update docs
Extend references with new ShowSchemas type (#4)
* Extend references with new SHowSchemas type
* Make resolve_table_ref as pub
* Fix docs linter
Implement regexp_substr (#6)
* Extend references with new SHowSchemas type
Make resolve_table_ref as pub
Fix docs linter
Add DDL AlterTable
Add DDL AlterTable
Add "rlike" as an alias for regexp_like (#2)
* Add "rlike" as an alias for regexp_like
* Update docs
Extend references with new ShowSchemas type (#4)
* Extend references with new SHowSchemas type
* Make resolve_table_ref as pub
* Fix docs linter
Fix deps
Import alter table
Temp
Temp
Add regexp_substr udf
Add regexp_substr udf
Add regexp_substr udf
Add regexp_substr udf
* Add regexp_substr to docs
* Update comments and fix returned datatype
* Update docs
Make statements publci (#7)
Make context public (#9)
* Make conext public
* Fix clippy
DFParser should skip unsupported COPY INTO (#10)
Skip CREATE STAGE by DFParser (pass to dialect parser) (#11)
* DFParser should skip unsupported COPY INTO
* Add tests
* Add tests
* Add tests
* Add tests
* Fmt
* Fmt
* Fmt
Extend references with new Show* types (#14)
Add e flag support (#16)
* Add e flag support
* Add e flag support
* fix fmt
* clippy
return Int64 instead of UInt64 when returning count (#17)
Revert commit: 314a726 (#18)
* Revert "return Int64 instead of UInt64 when returning count (#17)"
This reverts commit 314a726.
* revert changes as of a bad approach use
Bump sqlparser version to 0.55. Fixes after rebase
named arguments for table functions (#20)
TableFunction Fixes (#23)
* TableFunction Fixes
* Also fix tests after rebase
* Taplo format
* Clippy
* Fix docs
PIVOT command (#22)
* Pivot initial changes
* Polishing
* Rebase fixes
* Add slt tests
* Add display for PIVOT
* Only check projections in case of subqueries
* Add builder test
* Add default on null. Cargo fmt
* Add default_on_null to proto and tests
* Fix protoc and clippy
* Cargo fmt
Update parser version (#26)
Fix incompatible type in IS NOT DISTINCT filter for PIVOT (#25)
* Fix incompattible type in IS NOT DISTINCT filter
* Cargo fmt
* Cargo clippy
UNPIVOT command (#24)
* UNPIVOT command implementation
* UNPIVOT command
* Add slt tests
* Taplo and cargo fmt
* Resolve comments
Update sql-parser
Update parser
update parser with fetch (#28)
Enhance string concat coercion to support castable types (#27)
* Allow any stringle types for concatination
* Fix fmt
Added basic support for table functions in relations (#29)
* Add basic support for flatten join
* Fix outer
Update sqlparser-version
Get table function in ascii lowercase (#30)
* Get table function in ascii lowercase
* Get table function in ascii lowercase
Update parser version
Update parser
Allow boolean vs integer comparison (#31)
* Allow comparison between boolean and int values
* Allow comparison between boolean and int values
* Add integer types
* clippy+fmt+tests fix
* tests fix
* Fix incompatible types test
* Fix slt test
* Fix docs
Fix unpivot. Columns result always in uppercase (#32)
Update parser (#33)
* Update parser
* Update version
* Update parser and external table
* Fix external table
* Fix external table
`QUALIFY` clause implementation (#34)
* Implement clause
* Remove comment
* Remove unimplemented
Support projection in subquery with IN clause (#35)
Update parser with SECURE keyword for views (#36)
* Update parser with SECURE keyword for views
* update rustc version for compatibility
Decorellate subqueries in IN inside JOIN filter and Aggregates (#37)
JanKaul pushed a commit that referenced this pull request Oct 17, 2025
Make required funcs public (#1)
* Make required funcs public
* Make required funcs public
* Make required funcs public
Extend to_date UDF supported types (#3)
* Extend to_date supported types
* Remove TODO
Add "rlike" as an alias for regexp_like (#2)
* Add "rlike" as an alias for regexp_like
* Update docs
Extend references with new ShowSchemas type (#4)
* Extend references with new SHowSchemas type
* Make resolve_table_ref as pub
* Fix docs linter
Implement regexp_substr (#6)
* Extend references with new SHowSchemas type
Make resolve_table_ref as pub
Fix docs linter
Add DDL AlterTable
Add DDL AlterTable
Add "rlike" as an alias for regexp_like (#2)
* Add "rlike" as an alias for regexp_like
* Update docs
Extend references with new ShowSchemas type (#4)
* Extend references with new SHowSchemas type
* Make resolve_table_ref as pub
* Fix docs linter
Fix deps
Import alter table
Temp
Temp
Add regexp_substr udf
Add regexp_substr udf
Add regexp_substr udf
Add regexp_substr udf
* Add regexp_substr to docs
* Update comments and fix returned datatype
* Update docs
Make statements publci (#7)
Make context public (#9)
* Make conext public
* Fix clippy
DFParser should skip unsupported COPY INTO (#10)
Skip CREATE STAGE by DFParser (pass to dialect parser) (#11)
* DFParser should skip unsupported COPY INTO
* Add tests
* Add tests
* Add tests
* Add tests
* Fmt
* Fmt
* Fmt
Extend references with new Show* types (#14)
Add e flag support (#16)
* Add e flag support
* Add e flag support
* fix fmt
* clippy
return Int64 instead of UInt64 when returning count (#17)
Revert commit: 314a726 (#18)
* Revert "return Int64 instead of UInt64 when returning count (#17)"
This reverts commit 314a726.
* revert changes as of a bad approach use
Bump sqlparser version to 0.55. Fixes after rebase
named arguments for table functions (#20)
TableFunction Fixes (#23)
* TableFunction Fixes
* Also fix tests after rebase
* Taplo format
* Clippy
* Fix docs
PIVOT command (#22)
* Pivot initial changes
* Polishing
* Rebase fixes
* Add slt tests
* Add display for PIVOT
* Only check projections in case of subqueries
* Add builder test
* Add default on null. Cargo fmt
* Add default_on_null to proto and tests
* Fix protoc and clippy
* Cargo fmt
Update parser version (#26)
Fix incompatible type in IS NOT DISTINCT filter for PIVOT (#25)
* Fix incompattible type in IS NOT DISTINCT filter
* Cargo fmt
* Cargo clippy
UNPIVOT command (#24)
* UNPIVOT command implementation
* UNPIVOT command
* Add slt tests
* Taplo and cargo fmt
* Resolve comments
Update sql-parser
Update parser
update parser with fetch (#28)
Enhance string concat coercion to support castable types (#27)
* Allow any stringle types for concatination
* Fix fmt
Added basic support for table functions in relations (#29)
* Add basic support for flatten join
* Fix outer
Update sqlparser-version
Get table function in ascii lowercase (#30)
* Get table function in ascii lowercase
* Get table function in ascii lowercase
Update parser version
Update parser
Allow boolean vs integer comparison (#31)
* Allow comparison between boolean and int values
* Allow comparison between boolean and int values
* Add integer types
* clippy+fmt+tests fix
* tests fix
* Fix incompatible types test
* Fix slt test
* Fix docs
Fix unpivot. Columns result always in uppercase (#32)
Update parser (#33)
* Update parser
* Update version
* Update parser and external table
* Fix external table
* Fix external table
`QUALIFY` clause implementation (#34)
* Implement clause
* Remove comment
* Remove unimplemented
Support projection in subquery with IN clause (#35)
Update parser with SECURE keyword for views (#36)
* Update parser with SECURE keyword for views
* update rustc version for compatibility
Decorellate subqueries in IN inside JOIN filter and Aggregates (#37)
JanKaul pushed a commit that referenced this pull request Oct 17, 2025
Make required funcs public (#1)
* Make required funcs public
* Make required funcs public
* Make required funcs public
Extend to_date UDF supported types (#3)
* Extend to_date supported types
* Remove TODO
Add "rlike" as an alias for regexp_like (#2)
* Add "rlike" as an alias for regexp_like
* Update docs
Extend references with new ShowSchemas type (#4)
* Extend references with new SHowSchemas type
* Make resolve_table_ref as pub
* Fix docs linter
Implement regexp_substr (#6)
* Extend references with new SHowSchemas type
Make resolve_table_ref as pub
Fix docs linter
Add DDL AlterTable
Add DDL AlterTable
Add "rlike" as an alias for regexp_like (#2)
* Add "rlike" as an alias for regexp_like
* Update docs
Extend references with new ShowSchemas type (#4)
* Extend references with new SHowSchemas type
* Make resolve_table_ref as pub
* Fix docs linter
Fix deps
Import alter table
Temp
Temp
Add regexp_substr udf
Add regexp_substr udf
Add regexp_substr udf
Add regexp_substr udf
* Add regexp_substr to docs
* Update comments and fix returned datatype
* Update docs
Make statements publci (#7)
Make context public (#9)
* Make conext public
* Fix clippy
DFParser should skip unsupported COPY INTO (#10)
Skip CREATE STAGE by DFParser (pass to dialect parser) (#11)
* DFParser should skip unsupported COPY INTO
* Add tests
* Add tests
* Add tests
* Add tests
* Fmt
* Fmt
* Fmt
Extend references with new Show* types (#14)
Add e flag support (#16)
* Add e flag support
* Add e flag support
* fix fmt
* clippy
return Int64 instead of UInt64 when returning count (#17)
Revert commit: 314a726 (#18)
* Revert "return Int64 instead of UInt64 when returning count (#17)"
This reverts commit 314a726.
* revert changes as of a bad approach use
Bump sqlparser version to 0.55. Fixes after rebase
named arguments for table functions (#20)
TableFunction Fixes (#23)
* TableFunction Fixes
* Also fix tests after rebase
* Taplo format
* Clippy
* Fix docs
PIVOT command (#22)
* Pivot initial changes
* Polishing
* Rebase fixes
* Add slt tests
* Add display for PIVOT
* Only check projections in case of subqueries
* Add builder test
* Add default on null. Cargo fmt
* Add default_on_null to proto and tests
* Fix protoc and clippy
* Cargo fmt
Update parser version (#26)
Fix incompatible type in IS NOT DISTINCT filter for PIVOT (#25)
* Fix incompattible type in IS NOT DISTINCT filter
* Cargo fmt
* Cargo clippy
UNPIVOT command (#24)
* UNPIVOT command implementation
* UNPIVOT command
* Add slt tests
* Taplo and cargo fmt
* Resolve comments
Update sql-parser
Update parser
update parser with fetch (#28)
Enhance string concat coercion to support castable types (#27)
* Allow any stringle types for concatination
* Fix fmt
Added basic support for table functions in relations (#29)
* Add basic support for flatten join
* Fix outer
Update sqlparser-version
Get table function in ascii lowercase (#30)
* Get table function in ascii lowercase
* Get table function in ascii lowercase
Update parser version
Update parser
Allow boolean vs integer comparison (#31)
* Allow comparison between boolean and int values
* Allow comparison between boolean and int values
* Add integer types
* clippy+fmt+tests fix
* tests fix
* Fix incompatible types test
* Fix slt test
* Fix docs
Fix unpivot. Columns result always in uppercase (#32)
Update parser (#33)
* Update parser
* Update version
* Update parser and external table
* Fix external table
* Fix external table
`QUALIFY` clause implementation (#34)
* Implement clause
* Remove comment
* Remove unimplemented
Support projection in subquery with IN clause (#35)
Update parser with SECURE keyword for views (#36)
* Update parser with SECURE keyword for views
* update rustc version for compatibility
Decorellate subqueries in IN inside JOIN filter and Aggregates (#37)
JanKaul pushed a commit that referenced this pull request Oct 17, 2025
Make required funcs public (#1)
* Make required funcs public
* Make required funcs public
* Make required funcs public
Extend to_date UDF supported types (#3)
* Extend to_date supported types
* Remove TODO
Add "rlike" as an alias for regexp_like (#2)
* Add "rlike" as an alias for regexp_like
* Update docs
Extend references with new ShowSchemas type (#4)
* Extend references with new SHowSchemas type
* Make resolve_table_ref as pub
* Fix docs linter
Implement regexp_substr (#6)
* Extend references with new SHowSchemas type
Make resolve_table_ref as pub
Fix docs linter
Add DDL AlterTable
Add DDL AlterTable
Add "rlike" as an alias for regexp_like (#2)
* Add "rlike" as an alias for regexp_like
* Update docs
Extend references with new ShowSchemas type (#4)
* Extend references with new SHowSchemas type
* Make resolve_table_ref as pub
* Fix docs linter
Fix deps
Import alter table
Temp
Temp
Add regexp_substr udf
Add regexp_substr udf
Add regexp_substr udf
Add regexp_substr udf
* Add regexp_substr to docs
* Update comments and fix returned datatype
* Update docs
Make statements publci (#7)
Make context public (#9)
* Make conext public
* Fix clippy
DFParser should skip unsupported COPY INTO (#10)
Skip CREATE STAGE by DFParser (pass to dialect parser) (#11)
* DFParser should skip unsupported COPY INTO
* Add tests
* Add tests
* Add tests
* Add tests
* Fmt
* Fmt
* Fmt
Extend references with new Show* types (#14)
Add e flag support (#16)
* Add e flag support
* Add e flag support
* fix fmt
* clippy
return Int64 instead of UInt64 when returning count (#17)
Revert commit: 314a726 (#18)
* Revert "return Int64 instead of UInt64 when returning count (#17)"
This reverts commit 314a726.
* revert changes as of a bad approach use
Bump sqlparser version to 0.55. Fixes after rebase
named arguments for table functions (#20)
TableFunction Fixes (#23)
* TableFunction Fixes
* Also fix tests after rebase
* Taplo format
* Clippy
* Fix docs
PIVOT command (#22)
* Pivot initial changes
* Polishing
* Rebase fixes
* Add slt tests
* Add display for PIVOT
* Only check projections in case of subqueries
* Add builder test
* Add default on null. Cargo fmt
* Add default_on_null to proto and tests
* Fix protoc and clippy
* Cargo fmt
Update parser version (#26)
Fix incompatible type in IS NOT DISTINCT filter for PIVOT (#25)
* Fix incompattible type in IS NOT DISTINCT filter
* Cargo fmt
* Cargo clippy
UNPIVOT command (#24)
* UNPIVOT command implementation
* UNPIVOT command
* Add slt tests
* Taplo and cargo fmt
* Resolve comments
Update sql-parser
Update parser
update parser with fetch (#28)
Enhance string concat coercion to support castable types (#27)
* Allow any stringle types for concatination
* Fix fmt
Added basic support for table functions in relations (#29)
* Add basic support for flatten join
* Fix outer
Update sqlparser-version
Get table function in ascii lowercase (#30)
* Get table function in ascii lowercase
* Get table function in ascii lowercase
Update parser version
Update parser
Allow boolean vs integer comparison (#31)
* Allow comparison between boolean and int values
* Allow comparison between boolean and int values
* Add integer types
* clippy+fmt+tests fix
* tests fix
* Fix incompatible types test
* Fix slt test
* Fix docs
Fix unpivot. Columns result always in uppercase (#32)
Update parser (#33)
* Update parser
* Update version
* Update parser and external table
* Fix external table
* Fix external table
`QUALIFY` clause implementation (#34)
* Implement clause
* Remove comment
* Remove unimplemented
Support projection in subquery with IN clause (#35)
Update parser with SECURE keyword for views (#36)
* Update parser with SECURE keyword for views
* update rustc version for compatibility
Decorellate subqueries in IN inside JOIN filter and Aggregates (#37)
JanKaul pushed a commit that referenced this pull request Oct 17, 2025
Make required funcs public (#1)
* Make required funcs public
* Make required funcs public
* Make required funcs public
Extend to_date UDF supported types (#3)
* Extend to_date supported types
* Remove TODO
Add "rlike" as an alias for regexp_like (#2)
* Add "rlike" as an alias for regexp_like
* Update docs
Extend references with new ShowSchemas type (#4)
* Extend references with new SHowSchemas type
* Make resolve_table_ref as pub
* Fix docs linter
Implement regexp_substr (#6)
* Extend references with new SHowSchemas type
Make resolve_table_ref as pub
Fix docs linter
Add DDL AlterTable
Add DDL AlterTable
Add "rlike" as an alias for regexp_like (#2)
* Add "rlike" as an alias for regexp_like
* Update docs
Extend references with new ShowSchemas type (#4)
* Extend references with new SHowSchemas type
* Make resolve_table_ref as pub
* Fix docs linter
Fix deps
Import alter table
Temp
Temp
Add regexp_substr udf
Add regexp_substr udf
Add regexp_substr udf
Add regexp_substr udf
* Add regexp_substr to docs
* Update comments and fix returned datatype
* Update docs
Make statements publci (#7)
Make context public (#9)
* Make conext public
* Fix clippy
DFParser should skip unsupported COPY INTO (#10)
Skip CREATE STAGE by DFParser (pass to dialect parser) (#11)
* DFParser should skip unsupported COPY INTO
* Add tests
* Add tests
* Add tests
* Add tests
* Fmt
* Fmt
* Fmt
Extend references with new Show* types (#14)
Add e flag support (#16)
* Add e flag support
* Add e flag support
* fix fmt
* clippy
return Int64 instead of UInt64 when returning count (#17)
Revert commit: 314a726 (#18)
* Revert "return Int64 instead of UInt64 when returning count (#17)"
This reverts commit 314a726.
* revert changes as of a bad approach use
Bump sqlparser version to 0.55. Fixes after rebase
named arguments for table functions (#20)
TableFunction Fixes (#23)
* TableFunction Fixes
* Also fix tests after rebase
* Taplo format
* Clippy
* Fix docs
PIVOT command (#22)
* Pivot initial changes
* Polishing
* Rebase fixes
* Add slt tests
* Add display for PIVOT
* Only check projections in case of subqueries
* Add builder test
* Add default on null. Cargo fmt
* Add default_on_null to proto and tests
* Fix protoc and clippy
* Cargo fmt
Update parser version (#26)
Fix incompatible type in IS NOT DISTINCT filter for PIVOT (#25)
* Fix incompattible type in IS NOT DISTINCT filter
* Cargo fmt
* Cargo clippy
UNPIVOT command (#24)
* UNPIVOT command implementation
* UNPIVOT command
* Add slt tests
* Taplo and cargo fmt
* Resolve comments
Update sql-parser
Update parser
update parser with fetch (#28)
Enhance string concat coercion to support castable types (#27)
* Allow any stringle types for concatination
* Fix fmt
Added basic support for table functions in relations (#29)
* Add basic support for flatten join
* Fix outer
Update sqlparser-version
Get table function in ascii lowercase (#30)
* Get table function in ascii lowercase
* Get table function in ascii lowercase
Update parser version
Update parser
Allow boolean vs integer comparison (#31)
* Allow comparison between boolean and int values
* Allow comparison between boolean and int values
* Add integer types
* clippy+fmt+tests fix
* tests fix
* Fix incompatible types test
* Fix slt test
* Fix docs
Fix unpivot. Columns result always in uppercase (#32)
Update parser (#33)
* Update parser
* Update version
* Update parser and external table
* Fix external table
* Fix external table
`QUALIFY` clause implementation (#34)
* Implement clause
* Remove comment
* Remove unimplemented
Support projection in subquery with IN clause (#35)
Update parser with SECURE keyword for views (#36)
* Update parser with SECURE keyword for views
* update rustc version for compatibility
Decorellate subqueries in IN inside JOIN filter and Aggregates (#37)
JanKaul pushed a commit that referenced this pull request Oct 20, 2025
Make required funcs public (#1)
* Make required funcs public
* Make required funcs public
* Make required funcs public
Extend to_date UDF supported types (#3)
* Extend to_date supported types
* Remove TODO
Add "rlike" as an alias for regexp_like (#2)
* Add "rlike" as an alias for regexp_like
* Update docs
Extend references with new ShowSchemas type (#4)
* Extend references with new SHowSchemas type
* Make resolve_table_ref as pub
* Fix docs linter
Implement regexp_substr (#6)
* Extend references with new SHowSchemas type
Make resolve_table_ref as pub
Fix docs linter
Add DDL AlterTable
Add DDL AlterTable
Add "rlike" as an alias for regexp_like (#2)
* Add "rlike" as an alias for regexp_like
* Update docs
Extend references with new ShowSchemas type (#4)
* Extend references with new SHowSchemas type
* Make resolve_table_ref as pub
* Fix docs linter
Fix deps
Import alter table
Temp
Temp
Add regexp_substr udf
Add regexp_substr udf
Add regexp_substr udf
Add regexp_substr udf
* Add regexp_substr to docs
* Update comments and fix returned datatype
* Update docs
Make statements publci (#7)
Make context public (#9)
* Make conext public
* Fix clippy
DFParser should skip unsupported COPY INTO (#10)
Skip CREATE STAGE by DFParser (pass to dialect parser) (#11)
* DFParser should skip unsupported COPY INTO
* Add tests
* Add tests
* Add tests
* Add tests
* Fmt
* Fmt
* Fmt
Extend references with new Show* types (#14)
Add e flag support (#16)
* Add e flag support
* Add e flag support
* fix fmt
* clippy
return Int64 instead of UInt64 when returning count (#17)
Revert commit: 314a726 (#18)
* Revert "return Int64 instead of UInt64 when returning count (#17)"
This reverts commit 314a726.
* revert changes as of a bad approach use
Bump sqlparser version to 0.55. Fixes after rebase
named arguments for table functions (#20)
TableFunction Fixes (#23)
* TableFunction Fixes
* Also fix tests after rebase
* Taplo format
* Clippy
* Fix docs
PIVOT command (#22)
* Pivot initial changes
* Polishing
* Rebase fixes
* Add slt tests
* Add display for PIVOT
* Only check projections in case of subqueries
* Add builder test
* Add default on null. Cargo fmt
* Add default_on_null to proto and tests
* Fix protoc and clippy
* Cargo fmt
Update parser version (#26)
Fix incompatible type in IS NOT DISTINCT filter for PIVOT (#25)
* Fix incompattible type in IS NOT DISTINCT filter
* Cargo fmt
* Cargo clippy
UNPIVOT command (#24)
* UNPIVOT command implementation
* UNPIVOT command
* Add slt tests
* Taplo and cargo fmt
* Resolve comments
Update sql-parser
Update parser
update parser with fetch (#28)
Enhance string concat coercion to support castable types (#27)
* Allow any stringle types for concatination
* Fix fmt
Added basic support for table functions in relations (#29)
* Add basic support for flatten join
* Fix outer
Update sqlparser-version
Get table function in ascii lowercase (#30)
* Get table function in ascii lowercase
* Get table function in ascii lowercase
Update parser version
Update parser
Allow boolean vs integer comparison (#31)
* Allow comparison between boolean and int values
* Allow comparison between boolean and int values
* Add integer types
* clippy+fmt+tests fix
* tests fix
* Fix incompatible types test
* Fix slt test
* Fix docs
Fix unpivot. Columns result always in uppercase (#32)
Update parser (#33)
* Update parser
* Update version
* Update parser and external table
* Fix external table
* Fix external table
`QUALIFY` clause implementation (#34)
* Implement clause
* Remove comment
* Remove unimplemented
Support projection in subquery with IN clause (#35)
Update parser with SECURE keyword for views (#36)
* Update parser with SECURE keyword for views
* update rustc version for compatibility
Decorellate subqueries in IN inside JOIN filter and Aggregates (#37)
JanKaul pushed a commit that referenced this pull request Apr 25, 2026
Make required funcs public (#1)
* Make required funcs public
* Make required funcs public
* Make required funcs public
Extend to_date UDF supported types (#3)
* Extend to_date supported types
* Remove TODO
Add "rlike" as an alias for regexp_like (#2)
* Add "rlike" as an alias for regexp_like
* Update docs
Extend references with new ShowSchemas type (#4)
* Extend references with new SHowSchemas type
* Make resolve_table_ref as pub
* Fix docs linter
Implement regexp_substr (#6)
* Extend references with new SHowSchemas type
Make resolve_table_ref as pub
Fix docs linter
Add DDL AlterTable
Add DDL AlterTable
Add "rlike" as an alias for regexp_like (#2)
* Add "rlike" as an alias for regexp_like
* Update docs
Extend references with new ShowSchemas type (#4)
* Extend references with new SHowSchemas type
* Make resolve_table_ref as pub
* Fix docs linter
Fix deps
Import alter table
Temp
Temp
Add regexp_substr udf
Add regexp_substr udf
Add regexp_substr udf
Add regexp_substr udf
* Add regexp_substr to docs
* Update comments and fix returned datatype
* Update docs
Make statements publci (#7)
Make context public (#9)
* Make conext public
* Fix clippy
DFParser should skip unsupported COPY INTO (#10)
Skip CREATE STAGE by DFParser (pass to dialect parser) (#11)
* DFParser should skip unsupported COPY INTO
* Add tests
* Add tests
* Add tests
* Add tests
* Fmt
* Fmt
* Fmt
Extend references with new Show* types (#14)
Add e flag support (#16)
* Add e flag support
* Add e flag support
* fix fmt
* clippy
return Int64 instead of UInt64 when returning count (#17)
Revert commit: 314a726 (#18)
* Revert "return Int64 instead of UInt64 when returning count (#17)"
This reverts commit 314a726.
* revert changes as of a bad approach use
Bump sqlparser version to 0.55. Fixes after rebase
named arguments for table functions (#20)
TableFunction Fixes (#23)
* TableFunction Fixes
* Also fix tests after rebase
* Taplo format
* Clippy
* Fix docs
PIVOT command (#22)
* Pivot initial changes
* Polishing
* Rebase fixes
* Add slt tests
* Add display for PIVOT
* Only check projections in case of subqueries
* Add builder test
* Add default on null. Cargo fmt
* Add default_on_null to proto and tests
* Fix protoc and clippy
* Cargo fmt
Update parser version (#26)
Fix incompatible type in IS NOT DISTINCT filter for PIVOT (#25)
* Fix incompattible type in IS NOT DISTINCT filter
* Cargo fmt
* Cargo clippy
UNPIVOT command (#24)
* UNPIVOT command implementation
* UNPIVOT command
* Add slt tests
* Taplo and cargo fmt
* Resolve comments
Update sql-parser
Update parser
update parser with fetch (#28)
Enhance string concat coercion to support castable types (#27)
* Allow any stringle types for concatination
* Fix fmt
Added basic support for table functions in relations (#29)
* Add basic support for flatten join
* Fix outer
Update sqlparser-version
Get table function in ascii lowercase (#30)
* Get table function in ascii lowercase
* Get table function in ascii lowercase
Update parser version
Update parser
Allow boolean vs integer comparison (#31)
* Allow comparison between boolean and int values
* Allow comparison between boolean and int values
* Add integer types
* clippy+fmt+tests fix
* tests fix
* Fix incompatible types test
* Fix slt test
* Fix docs
Fix unpivot. Columns result always in uppercase (#32)
Update parser (#33)
* Update parser
* Update version
* Update parser and external table
* Fix external table
* Fix external table
`QUALIFY` clause implementation (#34)
* Implement clause
* Remove comment
* Remove unimplemented
Support projection in subquery with IN clause (#35)
Update parser with SECURE keyword for views (#36)
* Update parser with SECURE keyword for views
* update rustc version for compatibility
Decorellate subqueries in IN inside JOIN filter and Aggregates (#37)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@Vedin@rampage644