[
https://issues.apache.org/jira/browse/TRAFODION-2060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15380370#comment-15380370
]
ASF GitHub Bot commented on TRAFODION-2060:
-------------------------------------------
GitHub user anoopsharma00 opened a pull request:
https://github.com/apache/incubator-trafodion/pull/596
[JIRA TRAFODION-2060] additional changes to tinyint datatype support (and
one more fix)
-- tinyint datatype was not correctly converted to a corresponding
datatype(returned type and input params) in all cases for callers
that dont yet support tinyint/boolean datatypes. This caused phoenix
tests for t4/t2 drivers to fail.
That has been fixed.
-- unsupported datatypes are no longer converted to equivalent
datatypes if select is for a view.
-- swstatus output change was causing seabase/hive regressions to
incorrectly stop and start hadoop. regression scripts have been updated
to reflect the swstatus change.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/anoopsharma00/incubator-trafodion
ansharma_trafr21_br
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafodion/pull/596.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 #596
----
commit ff0dd266394973861c9765b364a0a94d6118d908
Author: Anoop Sharma <[email protected]>
Date: 2016-07-16T00:26:00Z
[JIRA TRAFODION-2060] additional changes to tinyint change
-- tinyint datatype was not correctly converted to a corresponding
datatype(returned type and input params) in all cases for callers
that dont yet support tinyint/boolean datatypes.
That has been fixed.
-- unsupported datatypes are no longer converted to equivalent
datatypes if select is for a view.
-- swstatus output change was causing seabase/hive regressions to
incorrectly stop and start hadoop.
----
> Add support for native tinyint datatype
> ---------------------------------------
>
> Key: TRAFODION-2060
> URL: https://issues.apache.org/jira/browse/TRAFODION-2060
> Project: Apache Trafodion
> Issue Type: Improvement
> Reporter: Anoop Sharma
> Assignee: Anoop Sharma
> Priority: Minor
>
> Currently, tinyint datatype(1 byte integer) in trafodion is automatically
> converted to smallint (2 byte integer) and treated like smallint.
> It causes values that are beyond the tinyint range to be inserted
> and selected.
> Same issue happens with hive tinyint datatypes which are also
> treated as smallint. That causes inconsistent behavior when that
> datatype is accessed or inserted from hive vs. trafodion.
> This jira is to add support for true tinyint datatype in table definitions,
> cast stmts, param typing and handling of hive tables.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)