Skip to content

Commit 233e857

Browse files
committed
Revert an unnecessary change
1 parent 7a83b80 commit 233e857

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bigframes/operations/output_schemas.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
import pyarrow as pa
1616

17+
from bigframes import dtypes
18+
1719

1820
def parse_sql_type(sql: str) -> pa.DataType:
1921
"""
@@ -43,6 +45,9 @@ def parse_sql_type(sql: str) -> pa.DataType:
4345
if sql.upper() == "BOOL":
4446
return pa.bool_()
4547

48+
if sql.upper() == "JSON":
49+
return dtypes.JSON_ARROW_TYPE
50+
4651
if sql.upper().startswith("ARRAY<") and sql.endswith(">"):
4752
inner_type = sql[len("ARRAY<") : -1]
4853
return pa.list_(parse_sql_type(inner_type))

0 commit comments

Comments
 (0)