Skip to content

Conversation

@yoshiokatsuneo
Copy link
Contributor

@yoshiokatsuneo yoshiokatsuneo commented Dec 18, 2024

What type of PR is this?

  • [*] Bug Fix

Description

On BigQuery, DATE and DATETIME type are not mapped to specific type, so it sometimes handled as "string" type and shown as number.

This PR add mapping for DATETIME/DATE in addition to TIMESTAMP.

How is this tested?

  • [*] Manually

I just run the query below and confirmed that the column is displayed in date format instead of number.

select DATETIME("2022-01-01") as t
union all 
select NULL as t

@arikfr arikfr enabled auto-merge (squash) December 18, 2024 12:24
Copy link
Member

@arikfr arikfr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@arikfr arikfr merged commit d884da2 into getredash:master Dec 18, 2024
11 checks passed
harveyrendell pushed a commit to pushpay/redash that referenced this pull request Jan 8, 2025
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

Successfully merging this pull request may close these issues.

2 participants