Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix nullable fields handling with JSON source #58

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

VictorD-Veolia
Copy link

Fix an error in JSONPage that prevented HTTP sources to handle nullable fields correctly.

@VictorD-Veolia VictorD-Veolia changed the title fix Fix nullable fields handling with JSON source May 10, 2021
@bdmogal
Copy link
Contributor

bdmogal commented Jun 30, 2021

@VictorD-Veolia do you mind sharing the exact issue (some sample response for which the plugin failed before the fix)? If you can add a test to demonstrate it, that would be even better.

@bdmogal
Copy link
Contributor

bdmogal commented Jun 30, 2021

Also, since this repository does not have automatic builds set up yet, would it be possible to paste the output of mvn clean package with this change?

@VictorD-Veolia
Copy link
Author

Hi @bdmogal, I added a unit test and created an issue in JIRA : https://cdap.atlassian.net/browse/PLUGIN-805

I also added to this comment the output of the mvn clean package you asked.

mvn_package.log

pom.xml Outdated
@@ -82,7 +82,7 @@
<gson.version>2.8.5</gson.version>
<hadoop.version>2.3.0</hadoop.version>
<httpcomponents.version>4.5.9</httpcomponents.version>
<hydrator.version>2.4.0-SNAPSHOT</hydrator.version>
<hydrator.version>2.4.0</hydrator.version>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should bump to a release version in the develop branch

@@ -0,0 +1,109 @@
/*
* Copyright © 2019-2020 Cask Data, Inc.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2022

Copy link
Contributor

@rmstar rmstar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please squash commits after addressing comment

@@ -82,7 +82,7 @@
<gson.version>2.8.5</gson.version>
<hadoop.version>2.3.0</hadoop.version>
<httpcomponents.version>4.5.9</httpcomponents.version>
<hydrator.version>2.4.0-SNAPSHOT</hydrator.version>
<hydrator.version>2.10.0-SNAPSHOT</hydrator.version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be set to a non-snapshot version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants