Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
fix: Timestamp formatting and lakehouse-type connector for trino_offl…
…ine_store.

Signed-off-by: Sergey Kryazhevskikh <soliverr@gmail.com>
  • Loading branch information
soliverr committed Jan 15, 2026
commit 583a34d4fcae25020a8b46fc8aa18b08dc07b405
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"oracle",
"redshift",
"memsql",
"lakehouse",
}

CREATE_SCHEMA_QUERY_TEMPLATE = """
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -424,11 +424,16 @@ def pull_all_from_table_or_query(
)

timestamp_filter = get_timestamp_filter_sql(
start_date, end_date, timestamp_field, quote_fields=False
start_date,
end_date,
timestamp_field,
quote_fields=False,
cast_style="timestamp",
date_time_separator=" ",
)
query = f"""
SELECT {field_string}
FROM {from_expression}
FROM ( {from_expression} )
WHERE {timestamp_filter}
"""
return TrinoRetrievalJob(
Expand Down
Loading