Skip to content

Commit d5f84b2

Browse files
committed
update doc
1 parent 3a07f19 commit d5f84b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bigframes/operations/output_schemas.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def parse_sql_fields(sql: str) -> tuple[pa.Field]:
3030
3131
Examples:
3232
"x INT64, y FLOAT64" => (pa.field("x", pa.int64()), pa.field("y", pa.float64()))
33+
"y INT64, x FLOAT64" => (pa.field("x", pa.float64()), pa.field("y", pa.int64()))
3334
"""
3435
sg_type = sqlglot.parse_one(f"STRUCT<{sql}>", read="bigquery")
3536
pa_struct = _sg_to_pyarrow_dtype(cast(sgexp.DataType, sg_type))

0 commit comments

Comments
 (0)