[ https://issues.apache.org/jira/browse/BEAM-9894?focusedWorklogId=438698&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-438698 ]
ASF GitHub Bot logged work on BEAM-9894: ---------------------------------------- Author: ASF GitHub Bot Created on: 29/May/20 12:05 Start Date: 29/May/20 12:05 Worklog Time Spent: 10m Work Description: purbanow commented on a change in pull request #11794: URL: https://github.com/apache/beam/pull/11794#discussion_r432427386 ########## File path: sdks/java/io/snowflake/src/main/java/org/apache/beam/sdk/io/snowflake/Location.java ########## @@ -0,0 +1,60 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.beam.sdk.io.snowflake; + +import java.io.Serializable; + +/** + * Used as one of the arguments for {@link org.apache.beam.sdk.io.snowflake.SnowflakeIO} write and + * read operations. It keeps information about storage integration and staging bucket name. + * Integration name is Snowflake storage integration object created according to Snowflake + * documentation for the GCS bucket. Staging bucket name is Google Cloud Storage bucket which in the + * case of writing operation will be used to save CSV files which will end up in Snowflake under + * “staging_bucket_name/data” path and in the case of reading operation will be used as a temporary + * location for storing CSV files named `sf_copy_csv_DATE_TIME_RANDOMSUFFIX` which will be removed + * automatically once Read operation finishes. + */ +public class Location implements Serializable { + private String storageIntegrationName; Review comment: Both `storageIntegrationName ` and `stagingBucketName` are always required for the connection between Snowflake and GCP. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 438698) Time Spent: 4h 10m (was: 4h) > Add batch SnowflakeIO.Write to Java SDK > --------------------------------------- > > Key: BEAM-9894 > URL: https://issues.apache.org/jira/browse/BEAM-9894 > Project: Beam > Issue Type: New Feature > Components: io-ideas > Reporter: Dariusz Aniszewski > Assignee: Pawel Urbanowicz > Priority: P2 > Time Spent: 4h 10m > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)