This repository has been archived by the owner on Dec 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 77
Illegal input character "$" in query builder. #215
Comments
The macro only works on time types. |
So I can't convert column with TIMESTAMP_MICROS() ? |
No, you can't |
Can you say why, please? I can transform that column to time type in regular query to BigQuery. It happends because I can't use convert functions in macros? |
I'm checking against columns that are from time types and not converted ones |
Can you add option to use convert functions? Technically query should work if I will convert column type to timestamp (and it works in raw query) |
Please open a detailed feature request and I'll take a look |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug Report
Something went wrong when I made request in query builder with $__timefilter. Time column is in INT64 type, but I transformed it into timestamp with TIMESTAMP_MICROS()
Expected Behavior
$__timefilter macro should replaced with sql
Actual Behavior
invalidQuery: No matching signature for operator BETWEEN for argument types: INT64, TIMESTAMP, TIMESTAMP. Supported signature: (ANY) BETWEEN (ANY) AND (ANY) at [7:21]
invalidQuery: Syntax error: Illegal input character "$" at [7:3]
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: