File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ def pyarrow_timestamp():
8787 "GEOGRAPHY" : pyarrow .string ,
8888 "INT64" : pyarrow .int64 ,
8989 "INTEGER" : pyarrow .int64 ,
90- "JSON" : json_arrow_type ,
90+ "JSON" : lambda : json_arrow_type ,
9191 "NUMERIC" : pyarrow_numeric ,
9292 "STRING" : pyarrow .string ,
9393 "TIME" : pyarrow_time ,
Original file line number Diff line number Diff line change @@ -27,11 +27,11 @@ def module_under_test():
2727
2828def test_bq_to_arrow_scalars (module_under_test ):
2929 assert (
30- module_under_test .bq_to_arrow_scalars ("BIGNUMERIC" )
31- == module_under_test .pyarrow_bignumeric
30+ module_under_test .bq_to_arrow_scalars ("BIGNUMERIC" )()
31+ == module_under_test .pyarrow_bignumeric ()
3232 )
3333 assert (
34- module_under_test .bq_to_arrow_scalars ("JSON" )
34+ module_under_test .bq_to_arrow_scalars ("JSON" )()
3535 == module_under_test .json_arrow_type
3636 )
3737 assert module_under_test .bq_to_arrow_scalars ("UNKNOWN_TYPE" ) is None
You can’t perform that action at this time.
0 commit comments