You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The linter only recognises tables from the before the first. in the column name when using the bigquery dialect.
Observed Behaviour
The linter sees names in nested fields which are separated by dots as table names which are not referenced in the query. Maybe it is assuming that the first name in the column string is a bigquery project?
== [/example.sql] FAIL
L: 5 | P: 9 | L026 | Reference 'et2.transaction.amount' refers to table/view
| 'transaction' not found in the FROM clause or found in
| parent subquery.
Steps to Reproduce
SQL:
CREATE TABLE `example_dataset1.example_table1`
AS
SELECT
et2._partitiontime AS partitiontime,
et2.transaction.amount AS amount
FROM `example_dataset2.example_table2` AS et2
Expected Behaviour
The linter only recognises tables from the before the first
.
in the column name when using the bigquery dialect.Observed Behaviour
The linter sees names in nested fields which are separated by dots as table names which are not referenced in the query. Maybe it is assuming that the first name in the column string is a bigquery project?
Steps to Reproduce
SQL:
example_table2 has the following structure:
(date partitioned)
Version
Configuration
The text was updated successfully, but these errors were encountered: