Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion src/analytics_query_analyzer/timespan_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,16 @@ def is_time_column(
column_type = self.schema[project][dataset][table][column_root]
except KeyError:
return False
return str(column_type).lower() in {"datetime", "date", "timestamp"}
normalized = str(column_type).lower()
if normalized in {
"datetime",
"date",
"timestamp",
"timestamp without time zone",
"timestamp with time zone",
}:
return True
return False

@staticmethod
def merge_bounds_and(
Expand Down