GoogleCloudPlatform / data-science-on-gcp

Source code accompanying book: Data Science on the Google Cloud Platform, Valliappa Lakshmanan, O'Reilly 2017
Apache License 2.0
1.31k stars 715 forks source link

Chapter 3: csv file format does not match #125

Closed huuhuannt1998 closed 2 years ago

huuhuannt1998 commented 3 years ago

Lak,

In chapter 3, when I run "./ingest_from_crsbucket bucketname", the data format of the csv files does not match the file format in create_table.sql. Using the new table using the old version of create_table.sql, it doesn't let me create, but the new version does. However, using the new version create_table.sql doesn't match with the csv files we have from "./ingest_from_crsbucket bucketname". Therefore, we can't do the following steps

Load the CSV files into this table: Browse to 201501.csv in your bucket Specify CSV as the format bts as the database flights as the table

May you take a look at this problem and show me how to fix this? Thank you.

lakshmanok commented 2 years ago

code updated to Edition 2