Skip to content

Transpiling date 'YYYY-MM-DD' into date 'YYYY-MM-DD'and not into cast('YYYY-MM-DD' AS DATE) #982

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

You must be logged in to vote

i wouldn't do it like that, i would check to.this in DataType.TEMPORAL_TYPES

in the else case, call super().cast_sql

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@tobymao
Comment options

@evyasonov
Comment options

@tobymao
Comment options

@evyasonov
Comment options

@tobymao
Comment options

Answer selected by evyasonov
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