Skip to content

SQL Compilation Error with Snowflake backend #10871

Closed Answered by sprivite
sprivite asked this question in Q&A
Discussion options

You must be logged in to vote

I think I have solved my own issue. In the example above, it fails because the column is non-nullable. However I also had a column that was of NULL type. By casting it to some datatype, the compilation error goes away:

>> table.schema()
ibis.Schema {
  VALUE       null
}

--> leads to compilation error when writing to disk

but

>> table = table.cast({"VALUE":"float"})

writes successfully.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@cpcloud
Comment options

@sprivite
Comment options

@cpcloud
Comment options

Answer selected by sprivite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants