You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by vdiravka <gi...@git.apache.org> on 2016/02/19 11:36:01 UTC

[GitHub] drill pull request: DRILL-4346: Handle NumberFormatException when ...

GitHub user vdiravka opened a pull request:

    https://github.com/apache/drill/pull/384

    DRILL-4346: Handle NumberFormatException when casting empty string to int in hbase/maprdb

    - Made replacing of functions casting for nullable input varbinary and var16char types are working (in CastFunctions.java setting 'drill.exec.functions.cast_empty_string_to_null = true' didn't work);
    - Added new generated classes for casting varbinary and var16char to int (CastEmptyStringVarTypesToNullableNumeric template and Casts.tdd data);
    - Created a test (in TestHBaseQueries.java) for checking an empty string to integer casting in maprdb/hbase table;
    - Small design changes according to comments in review (import statements, prefixes ...).

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

    $ git pull https://github.com/vdiravka/drill DRILL-4346

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

    https://github.com/apache/drill/pull/384.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 #384
    
----
commit d7e0e3d45956506aae2c6a54cf39abaa1df9dc9b
Author: vataga <vi...@mail.ru>
Date:   2016-02-02T11:18:49Z

    DRILL-4346: Handle NumberFormatException when casting empty string to int in hbase/maprdb
    
    - Made replacing of functions casting for nullable input varbinary and var16char types are working (in CastFunctions.java setting 'drill.exec.functions.cast_empty_string_to_null = true' didn't work);
    - Added new generated classes for casting varbinary and var16char to int (CastEmptyStringVarTypesToNullableNumeric template and Casts.tdd data);
    - Created a test (in TestHBaseQueries.java) for checking an empty string to integer casting in maprdb/hbase table;
    - Small design changes according to comments in review (import statements, prefixes ...).

----


---
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] drill pull request: DRILL-4346: Handle NumberFormatException when ...

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

    https://github.com/apache/drill/pull/384


---
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] drill pull request: DRILL-4346: Handle NumberFormatException when ...

Posted by parthchandra <gi...@git.apache.org>.
Github user parthchandra commented on the pull request:

    https://github.com/apache/drill/pull/384#issuecomment-189489129
  
    LGTM +1


---
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.
---