Merging upstream version 6.1.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
3c6d649c90
commit
08ecea3adf
61 changed files with 1844 additions and 1555 deletions
|
@ -44,6 +44,7 @@ class BigQuery(Dialect):
|
|||
]
|
||||
IDENTIFIERS = ["`"]
|
||||
ESCAPE = "\\"
|
||||
HEX_STRINGS = [("0x", ""), ("0X", "")]
|
||||
|
||||
KEYWORDS = {
|
||||
**Tokenizer.KEYWORDS,
|
||||
|
@ -120,9 +121,5 @@ class BigQuery(Dialect):
|
|||
|
||||
def intersect_op(self, expression):
|
||||
if not expression.args.get("distinct", False):
|
||||
self.unsupported(
|
||||
"INTERSECT without DISTINCT is not supported in BigQuery"
|
||||
)
|
||||
return (
|
||||
f"INTERSECT{' DISTINCT' if expression.args.get('distinct') else ' ALL'}"
|
||||
)
|
||||
self.unsupported("INTERSECT without DISTINCT is not supported in BigQuery")
|
||||
return f"INTERSECT{' DISTINCT' if expression.args.get('distinct') else ' ALL'}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue