You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2017/09/04 13:34:54 UTC

camel git commit: CAMEL-11733: Fixed partition character

Repository: camel
Updated Branches:
  refs/heads/master 1475c48e6 -> 443f6b769


CAMEL-11733: Fixed partition character


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/443f6b76
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/443f6b76
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/443f6b76

Branch: refs/heads/master
Commit: 443f6b7691f6398be7f05d76202595bd35b13a47
Parents: 1475c48
Author: Sarel Lugtenburg <sa...@scentregroup.com>
Authored: Mon Sep 4 07:31:07 2017 +1000
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Mon Sep 4 15:33:58 2017 +0200

----------------------------------------------------------------------
 .../camel/component/google/bigquery/GoogleBigQueryProducer.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/443f6b76/components/camel-google-bigquery/src/main/java/org/apache/camel/component/google/bigquery/GoogleBigQueryProducer.java
----------------------------------------------------------------------
diff --git a/components/camel-google-bigquery/src/main/java/org/apache/camel/component/google/bigquery/GoogleBigQueryProducer.java b/components/camel-google-bigquery/src/main/java/org/apache/camel/component/google/bigquery/GoogleBigQueryProducer.java
index f590515..b2b6593 100644
--- a/components/camel-google-bigquery/src/main/java/org/apache/camel/component/google/bigquery/GoogleBigQueryProducer.java
+++ b/components/camel-google-bigquery/src/main/java/org/apache/camel/component/google/bigquery/GoogleBigQueryProducer.java
@@ -121,7 +121,7 @@ public class GoogleBigQueryProducer extends DefaultProducer {
     private int process(String tableId, String partitionDecorator, String suffix, List<Exchange> exchanges, String exchangeId) throws Exception {
         String tableIdWithPartition = Strings.isNullOrEmpty(partitionDecorator)
                 ? tableId
-                : (tableId + "?" + partitionDecorator);
+                : (tableId + "$" + partitionDecorator);
 
         List<TableDataInsertAllRequest.Rows> apiRequestRows = new ArrayList<>();
         for (Exchange ex: exchanges) {