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

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

    [ https://issues.apache.org/jira/browse/CAMEL-18382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17580242#comment-17580242 ] 

Claus Ibsen commented on CAMEL-18382:
-------------------------------------

Yes we should use the value as-is for the types that the google support as you suggest. A PR is much welcome

> 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.18.0
>            Reporter: Jiri Ondrusek
>            Assignee: Jiri Ondrusek
>            Priority: Minor
>             Fix For: 3.19.0
>
>
> 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)