dataform-co / dataform-web-tracking

Dataform is a collaborative data modelling platform that enables analysts and engineers to manage complex data models in SQL
https://dataform.co
MIT License
2 stars 0 forks source link

NULL values in timestamp column cause preview results error #191

Closed dwl285 closed 5 years ago

dwl285 commented 5 years ago

steps to reproduce: Run SQL:

select current_timestamp()
union all
select cast(null AS timestamp)

Result: TypeError: Cannot read property 'value' of null

From @BenBirt : i'm betting it's this: https://github.com/dataform-co/dataform/blob/master/api/dbadapters/bigquery.ts#L226

dwl285 commented 5 years ago

dupe of https://github.com/dataform-co/dataform/issues/405