Description
PostgreSQL return NULL for the NULL field from the date_part() function:
maxim=# select date_part(null, date'2019-09-20'); date_part ----------- (1 row)
but Spark fails with the error:
spark-sql> select date_part(null, date'2019-09-20'); Error in query: null; line 1 pos 7
Attachments
Issue Links
- links to