We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19e6625 commit d8cab41Copy full SHA for d8cab41
python/datafusion/context.py
@@ -623,12 +623,12 @@ def sql(
623
DataFrame representation of the SQL query.
624
"""
625
626
- def value_to_scalar(value) -> pa.Scalar:
+ def value_to_scalar(value: Any) -> pa.Scalar:
627
if isinstance(value, pa.Scalar):
628
return value
629
return pa.scalar(value)
630
631
- def value_to_string(value) -> str:
+ def value_to_string(value: Any) -> str:
632
if isinstance(value, DataFrame):
633
view_name = str(uuid.uuid4()).replace("-", "_")
634
view_name = f"view_{view_name}"
0 commit comments