You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jiri Ondrusek (Jira)" <ji...@apache.org> on 2022/08/11 08:26:00 UTC

[jira] [Created] (CAMEL-18382) Google-bigquery allow different value types from headers

Jiri Ondrusek created CAMEL-18382:
-------------------------------------

             Summary: Google-bigquery allow different value types from headers 
                 Key: CAMEL-18382
                 URL: https://issues.apache.org/jira/browse/CAMEL-18382
             Project: Camel
          Issue Type: Improvement
          Components: camel-google-bigquery
    Affects Versions: 3.19.0
            Reporter: Jiri Ondrusek
            Assignee: Jiri Ondrusek


One of the ways of execution of sql via `google-bigquery` component is to pass values in header. Header values are passed into the sql request. Unfortunately each object is converted to String in [this line|https://github.com/apache/camel/blob/main/components/camel-google/camel-google-bigquery/src/main/java/org/apache/camel/component/google/bigquery/sql/GoogleBigQuerySQLProducer.java#L160.]

 

It would be nice, if the component could keep several types based on the type of the value  (like numeric, boolean)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)