NIFI-11823 - fix NUMERIC support in PutBigQuery#7489
NIFI-11823 - fix NUMERIC support in PutBigQuery#7489pvillard31 wants to merge 4 commits intoapache:mainfrom
Conversation
turcsanyip
left a comment
There was a problem hiding this comment.
@pvillard31 Thanks for fixing the decimal handling in the BigQuery processor!
I tested it with different numeric types and it works properly except Avro int (pls. see my comment below).
I can also see regression in the testStreamingNoErrorWithDateFormat IT test. Could you please check it? For me it constantly succeeds on main but fails on the PR branch.
...i-gcp-processors/src/main/java/org/apache/nifi/processors/gcp/bigquery/proto/ProtoUtils.java
Show resolved
Hide resolved
...i-gcp-processors/src/main/java/org/apache/nifi/processors/gcp/bigquery/proto/ProtoUtils.java
Outdated
Show resolved
Hide resolved
Good catch, I guess I focused on the tests I added and forgot to re-run this one... after investigation it feels like trying to send a |
|
Thanks @pvillard31 for your detailed explanation! I did not check the result in the BigQuery table, just saw that What we can do (if we want to support cross-type conversions, e.g. Something like this: |
...i-gcp-processors/src/main/java/org/apache/nifi/processors/gcp/bigquery/proto/ProtoUtils.java
Outdated
Show resolved
Hide resolved
|
Thanks @turcsanyip - I went ahead with the changes your suggested |
turcsanyip
left a comment
There was a problem hiding this comment.
Thanks @pvillard31!
+1 LGTM
Merging to main and 1.x.
This closes #7489. Signed-off-by: Peter Turcsanyi <turcsanyi@apache.org>
This closes apache#7489. Signed-off-by: Peter Turcsanyi <turcsanyi@apache.org>
This closes apache#7489. Signed-off-by: Peter Turcsanyi <turcsanyi@apache.org>
Summary
NIFI-11823 - fix NUMERIC support in PutBigQuery
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking
Pull Request Tracking
NIFI-00000NIFI-00000Pull Request Formatting
mainbranchVerification
Please indicate the verification steps performed prior to pull request creation.
Build
mvn clean install -P contrib-checkLicensing
LICENSEandNOTICEfilesDocumentation