You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by pvillard31 <gi...@git.apache.org> on 2017/03/07 19:06:21 UTC

[GitHub] nifi pull request #1570: NIFI-3556 - ValidateCSV - fixed schema parsing when...

GitHub user pvillard31 opened a pull request:

    https://github.com/apache/nifi/pull/1570

    NIFI-3556 - ValidateCSV - fixed schema parsing when ending by Null op\u2026

    \u2026erator
    
    Thank you for submitting a contribution to Apache NiFi.
    
    In order to streamline the review of the contribution we ask you
    to ensure the following steps have been taken:
    
    ### For all changes:
    - [X] Is there a JIRA ticket associated with this PR? Is it referenced 
         in the commit message?
    
    - [X] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
    
    - [X] Has your PR been rebased against the latest commit within the target branch (typically master)?
    
    - [X] Is your initial contribution a single, squashed commit?
    
    ### For code changes:
    - [X] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
    - [X] Have you written or updated unit tests to verify your changes?
    
    ### Note:
    Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/pvillard31/nifi NIFI-3556

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi/pull/1570.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1570
    
----
commit 779fb07bcea2b92e6540f0ff2c1e7c327fddbb70
Author: Pierre Villard <pi...@gmail.com>
Date:   2017-03-07T18:48:00Z

    NIFI-3556 - ValidateCSV - fixed schema parsing when ending by Null operator

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] nifi issue #1570: NIFI-3556 - ValidateCSV - fixed schema parsing when ending...

Posted by jvwing <gi...@git.apache.org>.
Github user jvwing commented on the issue:

    https://github.com/apache/nifi/pull/1570
  
    Looks great, @pvillard31, thanks for fixing this.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] nifi issue #1570: NIFI-3556 - ValidateCSV - fixed schema parsing when ending...

Posted by jvwing <gi...@git.apache.org>.
Github user jvwing commented on the issue:

    https://github.com/apache/nifi/pull/1570
  
    Reviewing...


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] nifi issue #1570: NIFI-3556 - ValidateCSV - fixed schema parsing when ending...

Posted by pvillard31 <gi...@git.apache.org>.
Github user pvillard31 commented on the issue:

    https://github.com/apache/nifi/pull/1570
  
    Hey @jvwing, thanks for the review! I agree with you, let me update the PR, should be OK in a minute.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] nifi pull request #1570: NIFI-3556 - ValidateCSV - fixed schema parsing when...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/nifi/pull/1570


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] nifi issue #1570: NIFI-3556 - ValidateCSV - fixed schema parsing when ending...

Posted by jvwing <gi...@git.apache.org>.
Github user jvwing commented on the issue:

    https://github.com/apache/nifi/pull/1570
  
    @pvillard31, this PR looks pretty good to me:
    
    * Passes full build with contrib-check
    * Unit test exercises the schema parsing issue
    * Processor change fixes the schema parsing issue
    
    One thing I would mention is that the unit test captures the complete context of the user experience from Jinli Liang, but it is more than necessary for the underlying issue.  A smaller unit test would still cover the issue and be clearer about the focus:
    
        @Test
        public void testParseSchemaCommaBoundary() {
            final TestRunner runner = TestRunners.newTestRunner(new ValidateCsv());
            runner.setProperty(ValidateCsv.SCHEMA, "Null(),Null");
            runner.assertValid();
        }
        
    What do you think?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---