Skip to content

[SPARK-43009][SQL] Parameterized sql() with Any constants #40623

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 15 commits into from
Prev Previous commit
Next Next commit
Re-gen proto files
  • Loading branch information
MaxGekk committed Apr 2, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit ba54339cae057a0c89cf4e83a6181eaa406d112a
6 changes: 1 addition & 5 deletions python/pyspark/sql/connect/proto/commands_pb2.pyi
Original file line number Diff line number Diff line change
@@ -186,11 +186,7 @@ class SqlCommand(google.protobuf.message.Message):
) -> google.protobuf.internal.containers.MessageMap[
builtins.str, pyspark.sql.connect.proto.expressions_pb2.Expression.Literal
]:
"""(Optional) A map of parameter names to string values that are parsed as
SQL literal expressions. For example, map keys: "rank", "name", "birthdate";
map values: "1", "'Steven'", "DATE'2023-03-21'". The fragments of string values
belonged to SQL comments are skipped while parsing.
"""
"""(Optional) A map of parameter names to literal expressions."""
def __init__(
self,
*,
6 changes: 1 addition & 5 deletions python/pyspark/sql/connect/proto/relations_pb2.pyi
Original file line number Diff line number Diff line change
@@ -585,11 +585,7 @@ class SQL(google.protobuf.message.Message):
) -> google.protobuf.internal.containers.MessageMap[
builtins.str, pyspark.sql.connect.proto.expressions_pb2.Expression.Literal
]:
"""(Optional) A map of parameter names to string values that are parsed as
SQL literal expressions. For example, map keys: "rank", "name", "birthdate";
map values: "1", "'Steven'", "DATE'2023-03-21'". The fragments of string values
belonged to SQL comments are skipped while parsing.
"""
"""(Optional) A map of parameter names to literal expressions."""
def __init__(
self,
*,