From 1e3c3048b85b944271d158129ed066f2f7de0dec Mon Sep 17 00:00:00 2001 From: Mark Date: Fri, 15 Nov 2019 17:51:43 -0800 Subject: [PATCH] update filenames to match the CSV files (#2535) 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 df22392195d8..af5260f217e5 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)