[teiid-issues] [JBoss JIRA] (TEIID-3616) HBase translator - NPE if date value is 'null'

RH Bugzilla Integration (JIRA) issues at jboss.org
Wed Feb 10 03:55:02 EST 2016


    [ https://issues.jboss.org/browse/TEIID-3616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13160826#comment-13160826 ] 

RH Bugzilla Integration commented on TEIID-3616:
------------------------------------------------

Filip Elias <felias at redhat.com> changed the Status of [bug 1252005|https://bugzilla.redhat.com/show_bug.cgi?id=1252005] from VERIFIED to CLOSED

> HBase translator - NPE if date value is 'null'
> ----------------------------------------------
>
>                 Key: TEIID-3616
>                 URL: https://issues.jboss.org/browse/TEIID-3616
>             Project: Teiid
>          Issue Type: Bug
>    Affects Versions: 8.7.1.6_2
>         Environment: Hbase: 1.1.1
> Phoenix: 4.5.0-HBase-1.1
>            Reporter: Juraj Duráni
>            Assignee: Steven Hawkins
>             Fix For: 8.7.1.6_2, 8.12
>
>         Attachments: log
>
>
> If the source table in HBase contains a 'NULL' date value, Teiid throws an NPE. I did not encounter any NPE using org.apache.phoenix.jdbc.PhoenixDriver [1]. Other data types seem to be OK too.
> I have tried integer, char, varchar, float, double, tinyint, smallint, bigint, decimal, varbinary, boolean, time, date, timestamp.
> [1]
> Connection con = new org.apache.phoenix.jdbc.PhoenixDriver().connect("jdbc:phoenix:localhost", new Properties())
> ResultSet rs = con.createStatement().executeQuery("select datevalue from smalla");
> while(rs.next()){
>   System.out.println(rs.getDate(1));
> }



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the teiid-issues mailing list