[ https://issues.apache.org/jira/browse/CAMEL-18382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17584772#comment-17584772 ]
Jiri Ondrusek commented on CAMEL-18382: --------------------------------------- Hi [~davsclaus] , as I'm thinking about it, I see one problem. If I change the detection to use different types (not only String), it will break back-compatibility. Any user who is using current implementation would need to revisit scheme , potentially convert existing data. I can imagine a solution with a configuration property (something like _dynamicSqlTypeDetetection_ with default value false) which enables to switch on this new feature. What do you think? > 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)