[
https://issues.jboss.org/browse/TEIID-3942?page=com.atlassian.jira.plugin...
]
Ramesh Reddy resolved TEIID-3942.
---------------------------------
Resolution: Done
Used "LexiCoder" for all the key based values. That means any PK or ROWID will
be stored using this.
Then used standard java serialization of object for the all the other types. The NULL will
be represented by EMPTY_BYTES which is standard for the Accumulo.
Note that previously all the data was stored as String's byte array form using UTF-8
encoding. So any previous data may be read correctly, so recreate your data, or model them
as strings in the model's DDL.
Accumulo translators should use LexiCoders to preserve the native
ordering
--------------------------------------------------------------------------
Key: TEIID-3942
URL:
https://issues.jboss.org/browse/TEIID-3942
Project: Teiid
Issue Type: Enhancement
Components: Misc. Connectors
Affects Versions: 8.12.4
Reporter: Ramesh Reddy
Assignee: Ramesh Reddy
Fix For: 9.0, 8.12.5
Accumulo translator currently converts all the data to string based byte array and
management of the data types is done at the translator level. In 1.6 version, there is
support for LexiCoders which is standard way to encode/decode Java data types. The
translator must be changed to make use of these.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)