Skip to content

Commit

Permalink
0005014: BigQuery connectivity not loading security file properly
Browse files Browse the repository at this point in the history
  • Loading branch information
joshhicks committed Jun 2, 2021
1 parent 0f87d7c commit a7f9d44
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Expand Up @@ -315,6 +315,7 @@ protected ISymmetricDialect createTargetDialect() {
copyProperties(properties, prefix, BasicDataSourcePropertyConstants.ALL_PROPS);
copyProperties(properties, prefix, ParameterConstants.ALL_JDBC_PARAMS);
copyProperties(properties, "", ParameterConstants.ALL_KAFKA_PARAMS);
copyProperties(properties, "", ParameterConstants.ALL_GOOGLE_BIG_QUERY_PARAMS);

IDatabasePlatform targetPlatform = createDatabasePlatform(null, properties, null, true, true,
parameterService.is(ParameterConstants.START_LOG_MINER_JOB, false));
Expand Down
Expand Up @@ -550,6 +550,9 @@ private ParameterConstants() {
public final static String GOOGLE_BIG_QUERY_PROJECT_ID = "google.bigquery.project.id";
public final static String GOOGLE_BIG_QUERY_SECURITY_CREDENTIALS_PATH = "google.bigquery.security.credentials.path";

public final static String[] ALL_GOOGLE_BIG_QUERY_PARAMS = new String[] { GOOGLE_BIG_QUERY_MAX_ROWS_PER_RPC, GOOGLE_BIG_QUERY_LOCATION,
GOOGLE_BIG_QUERY_PROJECT_ID, GOOGLE_BIG_QUERY_SECURITY_CREDENTIALS_PATH};

public final static String HBASE_SITE_XML_PATH = "hbase.site.xml.path";

public static Map<String, ParameterMetaData> getParameterMetaData() {
Expand Down

0 comments on commit a7f9d44

Please sign in to comment.