1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- import os
16-
1715import pytest
1816
1917
18+ @pytest .mark .skip (reason = "Placeholder project ID 'your-project-id' (b/522845525)" )
2019def test_query_standard_sql ():
2120 # [START bigquery_bigframes_query]
2221 import bigframes .pandas as bpd
@@ -34,17 +33,13 @@ def test_query_standard_sql():
3433 df = bpd .read_gbq (sql )
3534
3635 # Run a query after explicitly specifying a project.
37- project = "your-project-id"
38- # [END bigquery_bigframes_query]
39- project = os .environ .get ("GOOGLE_CLOUD_PROJECT" , "bigframes-dev-perf" )
40- bpd .close_session ()
41- # [START bigquery_bigframes_query]
42- bpd .options .bigquery .project = project
36+ bpd .options .bigquery .project = "your-project-id"
4337 df = bpd .read_gbq (sql )
4438 # [END bigquery_bigframes_query]
45- assert df is not None
39+ return df
4640
4741
42+ @pytest .mark .skip (reason = "Legacy SQL syntax not supported by BigQuery DataFrames (b/522845525)" )
4843def test_query_legacy_sql ():
4944 # [START bigquery_bigframes_query_legacy]
5045 import bigframes .pandas as bpd
@@ -62,7 +57,7 @@ def test_query_legacy_sql():
6257 query_config = {"query" : {"useLegacySql" : True }}
6358 df = bpd .read_gbq (sql , configuration = query_config )
6459 # [END bigquery_bigframes_query_legacy]
65- assert df is not None
60+ return df
6661
6762
6863def test_query_bqstorage ():
0 commit comments