Skip to content

Commit

Permalink
chore: fix example bq path (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
eakmanrq authored Aug 12, 2024
1 parent a45419b commit efa1d10
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ from sqlframe.bigquery import functions as F
from sqlframe.bigquery import Window

session = BigQuerySession()
table_path = "bigquery-public-data.samples.natality"
table_path = '"bigquery-public-data".samples.natality'
# Top 5 years with the greatest year-over-year % change in new families with single child
df = (
session.table(table_path)
Expand Down
2 changes: 1 addition & 1 deletion blogs/add_chatgpt_support.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ from sqlframe.bigquery import functions as F
from sqlframe.bigquery import Window

session = BigQuerySession()
table_path = "bigquery-public-data.samples.natality"
table_path = '"bigquery-public-data".samples.natality'
# Top 5 years with the greatest year-over-year % change in new families with single child
df = (
session.table(table_path)
Expand Down
2 changes: 1 addition & 1 deletion blogs/sqlframe_universal_dataframe_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ from sqlframe.bigquery import Window

# Unique to SQLFrame: Ability to connect directly to BigQuery
session = BigQuerySession()
table_path = "bigquery-public-data.samples.natality"
table_path = '"bigquery-public-data".samples.natality'
# Get the top 5 years with the greatest year-over-year % change in new families with a single child
df = (
session.table(table_path)
Expand Down
4 changes: 2 additions & 2 deletions docs/bigquery.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ from sqlframe.bigquery import functions as F

session = BigQuerySession(default_dataset="sqlframe.db1")
(
session.table("bigquery-public-data.samples.natality")
session.table('"bigquery-public-data".samples.natality')
.select(F.call_function("FARM_FINGERPRINT", F.col("source")).alias("source_hash"))
.show()
)
Expand All @@ -86,7 +86,7 @@ from sqlframe.bigquery import functions as F
from sqlframe.bigquery import Window

session = BigQuerySession(default_dataset="sqlframe.db1")
table_path = "bigquery-public-data.samples.natality"
table_path = '"bigquery-public-data".samples.natality'
# Get columns in the table
print(session.catalog.listColumns(table_path))
# Get the top 5 years with the greatest year-over-year % change in new families with a single child
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ from sqlframe.bigquery import functions as F
from sqlframe.bigquery import Window

session = BigQuerySession()
table_path = "bigquery-public-data.samples.natality"
table_path = '"bigquery-public-data".samples.natality'
# Top 5 years with the greatest year-over-year % change in new families with single child
df = (
session.table(table_path)
Expand Down

0 comments on commit efa1d10

Please sign in to comment.