-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20643/
-----------------------------------------------------------
(Updated April 29, 2014, 5:16 a.m.)
Review request for Tajo.
Changes
-------
Thank you for your suggestion Hyunsik :)
I followed your comment.
So, I make two class file.
One is postgresql's to_char, and the other is using java's number format.
mvn clean install is OK.
Bugs: TAJO-637
https://issues.apache.org/jira/browse/TAJO-637
Repository: tajo
Description
-------
Currently, Tajo only supports to_char(timestamp, text) function.
However, PostgreSQL supports to_char() for timestamp, interval, int, double,
and numeric types
Tajo needs to support more data types in to_char() as shown in
http://www.postgresql.org/docs/9.3/static/functions-formatting.html
Diffs (updated)
-----
tajo-core/src/main/java/org/apache/tajo/engine/function/dataformat/ToCharDataFormat.java
PRE-CREATION
tajo-core/src/main/java/org/apache/tajo/engine/function/dataformat/ToJavaCharDataFormat.java
PRE-CREATION
tajo-core/src/test/java/org/apache/tajo/engine/function/TestDataFormatFunctions.java
PRE-CREATION
Diff: https://reviews.apache.org/r/20643/diff/
Testing
-------
mvn clean install is OK.
Thanks,
Seungun Choe