Skip to content

Commit

Permalink
Potential overflow error
Browse files Browse the repository at this point in the history
  • Loading branch information
lakshmanok committed Dec 18, 2019
1 parent 75ba572 commit b042918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 05_bqnotebook/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ If you didn't go through Chapters 2-4, the simplest way to catch up is to copy d
CREATE OR REPLACE TABLE flights.trainday AS
SELECT
FL_DATE,
IF(MOD(ABS(FARM_FINGERPRINT(CAST(FL_DATE AS STRING))), 100) < 70, 'True', 'False') AS is_train_day
IF(ABS(MOD(FARM_FINGERPRINT(CAST(FL_DATE AS STRING)), 100)) < 70, 'True', 'False') AS is_train_day
FROM (
SELECT
DISTINCT(FL_DATE) AS FL_DATE
Expand Down

0 comments on commit b042918

Please sign in to comment.