Skip to content

Commit 36385bf

Browse files
authored
chore: tpch q7 workaround removed. (#969)
* chore: tpch q7 workaround removed. * format fix
1 parent da3524b commit 36385bf

File tree

1 file changed

+0
-8
lines changed
  • third_party/bigframes_vendored/tpch/queries

1 file changed

+0
-8
lines changed

third_party/bigframes_vendored/tpch/queries/q7.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,6 @@ def q(dataset_id: str, session: bigframes.Session):
5656

5757
total = bpd.concat([df1, df2])
5858

59-
# TODO(huanc): TEMPORARY CODE to force a fresh start. Currently,
60-
# combining everything into a single query seems to trigger a bug
61-
# causing incorrect results. This workaround involves writing to and
62-
# then reading from BigQuery. Remove this once b/355714291 is
63-
# resolved.
64-
dest = total.to_gbq()
65-
total = bpd.read_gbq(dest)
66-
6759
total = total[(total["L_SHIPDATE"] >= var3) & (total["L_SHIPDATE"] <= var4)]
6860
total["VOLUME"] = total["L_EXTENDEDPRICE"] * (1.0 - total["L_DISCOUNT"])
6961
total["L_YEAR"] = total["L_SHIPDATE"].dt.year

0 commit comments

Comments
 (0)