From f4ba7ab631145ebc47dd6ee2bf56a8a33fe4e96f Mon Sep 17 00:00:00 2001 From: Mark Date: Fri, 15 Nov 2019 10:43:12 -0800 Subject: [PATCH] update filenames to match the CSV files fixes https://github.com/GoogleCloudPlatform/python-docs-samples/issues/2532 --- spanner/cloud-client/bulk_load_csv/batch_import.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spanner/cloud-client/bulk_load_csv/batch_import.py b/spanner/cloud-client/bulk_load_csv/batch_import.py index df22392195d..af5260f217e 100644 --- a/spanner/cloud-client/bulk_load_csv/batch_import.py +++ b/spanner/cloud-client/bulk_load_csv/batch_import.py @@ -73,8 +73,8 @@ def main(instance_id, database_id): # using`create_database`. start = time.time() # File paths - comments_file = 'hnewscomments.txt' - stories_file = 'hnewsstories.txt' + comments_file = 'hnewscomments.csv' + stories_file = 'hnewsstories.csv' # Instantiates a spanner client spanner_client = spanner.Client() instance = spanner_client.instance(instance_id)