Skip to content

Columns with capital letters in DataFusion #3353

Answered by riziles
riziles asked this question in Q&A
Discussion options

You must be logged in to vote

Set datafusion.sql_parser.enable_ident_normalization to "false".

from datafusion import SessionConfig, SessionContext
from deltalake import DeltaTable

cfg = SessionConfig().set("datafusion.sql_parser.enable_ident_normalization", "false")

ctx = SessionContext(cfg)

ctx.register_table_provider("data", DeltaTable("msr_data"))

ctx.sql("select CutoffDate from data limit 10").show()

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by riziles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant