@@ -97,7 +97,10 @@ def scalar_types_table_schema() -> typing.Sequence[bigquery.SchemaField]:
9797def scalar_types_df (compiler_session ) -> bpd .DataFrame :
9898 """Returns a BigFrames DataFrame containing all scalar types and using the `rowindex`
9999 column as the index."""
100- bf_df = compiler_session .read_gbq_table ("bigframes-dev.sqlglot_test.scalar_types" )
100+ bf_df = compiler_session ._loader .read_gbq_table (
101+ "bigframes-dev.sqlglot_test.scalar_types" ,
102+ enable_snapshot = False ,
103+ )
101104 bf_df = bf_df .set_index ("rowindex" , drop = False )
102105 return bf_df
103106
@@ -154,8 +157,9 @@ def nested_structs_types_table_schema() -> typing.Sequence[bigquery.SchemaField]
154157def nested_structs_types_df (compiler_session_w_nested_structs_types ) -> bpd .DataFrame :
155158 """Returns a BigFrames DataFrame containing all scalar types and using the `rowindex`
156159 column as the index."""
157- bf_df = compiler_session_w_nested_structs_types .read_gbq_table (
158- "bigframes-dev.sqlglot_test.nested_structs_types"
160+ bf_df = compiler_session_w_nested_structs_types ._loader .read_gbq_table (
161+ "bigframes-dev.sqlglot_test.nested_structs_types" ,
162+ enable_snapshot = False ,
159163 )
160164 bf_df = bf_df .set_index ("id" , drop = False )
161165 return bf_df
@@ -204,8 +208,9 @@ def repeated_types_table_schema() -> typing.Sequence[bigquery.SchemaField]:
204208def repeated_types_df (compiler_session_w_repeated_types ) -> bpd .DataFrame :
205209 """Returns a BigFrames DataFrame containing all scalar types and using the `rowindex`
206210 column as the index."""
207- bf_df = compiler_session_w_repeated_types .read_gbq_table (
208- "bigframes-dev.sqlglot_test.repeated_types"
211+ bf_df = compiler_session_w_repeated_types ._loader .read_gbq_table (
212+ "bigframes-dev.sqlglot_test.repeated_types" ,
213+ enable_snapshot = False ,
209214 )
210215 bf_df = bf_df .set_index ("rowindex" , drop = False )
211216 return bf_df
@@ -237,8 +242,9 @@ def json_types_table_schema() -> typing.Sequence[bigquery.SchemaField]:
237242def json_types_df (compiler_session_w_json_types ) -> bpd .DataFrame :
238243 """Returns a BigFrames DataFrame containing JSON types and using the `rowindex`
239244 column as the index."""
240- bf_df = compiler_session_w_json_types .read_gbq_table (
241- "bigframes-dev.sqlglot_test.json_types"
245+ bf_df = compiler_session_w_json_types ._loader .read_gbq_table (
246+ "bigframes-dev.sqlglot_test.json_types" ,
247+ enable_snapshot = False ,
242248 )
243249 # TODO(b/427305807): Why `drop=False` will produce two "rowindex" columns?
244250 bf_df = bf_df .set_index ("rowindex" , drop = True )
0 commit comments