Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Superset - NaTType does not support utcoffset #31

Open
mod-tran opened this issue Oct 26, 2022 · 3 comments
Open

Superset - NaTType does not support utcoffset #31

mod-tran opened this issue Oct 26, 2022 · 3 comments

Comments

@mod-tran
Copy link

Hi team,

I have issue about select data dremio from superset.

Column type in table is date but some have null value. Then my superset got this error

Dremio Error
NaTType does not support utcoffset

This may be triggered by:
Issue 1002 - The database returned an unexpected error.

See less

Pls help me. tks

@mod-tran
Copy link
Author

Hi,
When coalesce(SO_DATE,0) it's ok. column result is 1970-01-01T00:00:00. But I don't need it.
I want it to be null.

@stepcheunghk
Copy link

Hi @mod-tran , I have also faced this issue. How did you fix it?

@stepcheunghk
Copy link

Hi, When coalesce(SO_DATE,0) it's ok. column result is 1970-01-01T00:00:00. But I don't need it. I want it to be null.

As a workaround, if you want to be null, you can try to convert datetime to date.
TO_DATE(SO_DATE)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants