Merging upstream version 20.4.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
1194ddb03c
commit
e4ef535ed9
20 changed files with 562 additions and 52 deletions
|
@ -4988,6 +4988,15 @@ class ApproxQuantile(Quantile):
|
|||
arg_types = {"this": True, "quantile": True, "accuracy": False, "weight": False}
|
||||
|
||||
|
||||
class Rand(Func):
|
||||
_sql_names = ["RAND", "RANDOM"]
|
||||
arg_types = {"this": False}
|
||||
|
||||
|
||||
class Randn(Func):
|
||||
arg_types = {"this": False}
|
||||
|
||||
|
||||
class RangeN(Func):
|
||||
arg_types = {"this": True, "expressions": True, "each": False}
|
||||
|
||||
|
@ -6475,7 +6484,7 @@ def table_name(table: Table | str, dialect: DialectType = None, identify: bool =
|
|||
raise ValueError(f"Cannot parse {table}")
|
||||
|
||||
return ".".join(
|
||||
part.sql(dialect=dialect, identify=True)
|
||||
part.sql(dialect=dialect, identify=True, copy=False)
|
||||
if identify or not SAFE_IDENTIFIER_RE.match(part.name)
|
||||
else part.name
|
||||
for part in table.parts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue