@@ -46,9 +46,9 @@ def _create_compiler_session(table_name, table_schema):
4646
4747
4848@pytest .fixture (scope = "session" )
49- def compiler_session (scalars_types_table_schema ):
49+ def compiler_session (scalar_types_table_schema ):
5050 """Compiler session for scalar types."""
51- return _create_compiler_session ("scalar_types" , scalars_types_table_schema )
51+ return _create_compiler_session ("scalar_types" , scalar_types_table_schema )
5252
5353
5454@pytest .fixture (scope = "session" )
@@ -72,7 +72,7 @@ def compiler_session_w_json_types(json_types_table_schema):
7272
7373
7474@pytest .fixture (scope = "session" )
75- def scalars_types_table_schema () -> typing .Sequence [bigquery .SchemaField ]:
75+ def scalar_types_table_schema () -> typing .Sequence [bigquery .SchemaField ]:
7676 return [
7777 bigquery .SchemaField ("bool_col" , "BOOLEAN" ),
7878 bigquery .SchemaField ("bytes_col" , "BYTES" ),
@@ -92,7 +92,7 @@ def scalars_types_table_schema() -> typing.Sequence[bigquery.SchemaField]:
9292
9393
9494@pytest .fixture (scope = "session" )
95- def scalars_types_df (compiler_session ) -> bpd .DataFrame :
95+ def scalar_types_df (compiler_session ) -> bpd .DataFrame :
9696 """Returns a BigFrames DataFrame containing all scalar types and using the `rowindex`
9797 column as the index."""
9898 bf_df = compiler_session .read_gbq_table ("bigframes-dev.sqlglot_test.scalar_types" )
@@ -101,7 +101,7 @@ def scalars_types_df(compiler_session) -> bpd.DataFrame:
101101
102102
103103@pytest .fixture (scope = "session" )
104- def scalars_types_pandas_df () -> pd .DataFrame :
104+ def scalar_types_pandas_df () -> pd .DataFrame :
105105 """Returns a pandas DataFrame containing all scalar types and using the `rowindex`
106106 column as the index."""
107107 # TODO: add tests for empty dataframes
0 commit comments