GitHub user hys9958 opened a pull request:
https://github.com/apache/tajo/pull/495
TAJO-1502: Implement SerDe for Kafka Storage.
Hi,
I have implemented for this issue and unit tests.
It implemented based on TextLineSerDe. So can be use other SerDe of based
in TextLineSerDe like JsonLineSerDe.
You can specify SerDe when create table. like this,
```
CREATE TABLE <table_name> [(<column_name>
<data_type>, ... )]
using kafka with
('kafka.serde'='org.apache.tajo.storage.json.JsonLineSerDe')
```
Default SerDe is DelimitedSerDe.
Thanks.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/hys9958/tajo TAJO-1502
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/495.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 #495
----
commit 3e0b55df882c3c99ba7cd3a8dc73d44b2b631b8e
Author: Yeonsu Han <[email protected]>
Date: 2015-04-01T16:14:28Z
TAJO-1502: Implement SerDe for Kafka Storage.
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---