Github user jihoonson commented on the pull request:
https://github.com/apache/tajo/pull/200#issuecomment-59176888
@mvhlong sorry for confusing.
I first intended that using NumericDatum will be useful for the later
histogram extension.
However, you are right. Double can contain a broad range of numeric types,
and TEXT can be mapped to a numeric value. I missed it.
In addition, the histogram is stored in only the catalog, so we don't need
to use Datum.
Thanks for your explanation!
---
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.
---