
--
You received this message because you are subscribed to the Google Groups "CDAP User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cdap-user+unsubscribe@googlegroups.com.
To post to this group, send email to cdap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cdap-user/1e3aee23-12fa-4cbf-96f3-ecf264b1ffde%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hey Shoaib,Q: I am trying to export data from a CDAP Table dataset using a timestamp column. There is a CDAP plugin in Hydrator that reads an entire CDAP Table and emits structured records. Can I use this along with a javascript filter transform plugin to filter out records based on the timestamp column? Is this efficient?A: This can be achieved by Javascript transform. However, please note that javascript transform only allows keyvalue table lookups.Q: can I modify the Table batch source plugin to only scan desired records (greater than or equal to a timestamp)?A: Could you please provide more information on how your data is structured, what is the row key for the table.Q: Also, can this task (selecting and exporting to DB) be achieved using Hive queries on the CDAP Table dataset either using Hydrator or asa custom CDAP application?A: Hive queries can be executed on CDAP Datasets using explore queries. The select statement can have filters you want and then download the result file and use it to import into the relational DB.Thanks,Vinisha
On Tue, Jun 13, 2017 at 2:12 PM, Shoaib Quraishi <msq...@gmail.com> wrote:
Hi all,
I am trying to export data from a CDAP Table dataset using a timestamp column. There is a CDAP plugin in Hydrator that reads an entire CDAP Table and emits structured records. Can I use this along with a javascript filter transform plugin to filter out records based on the timestamp column? Is this efficient? Or can I modify the Table batch source plugin to only scan desired records (greater than or equal to a timestamp)? Also, can this task (selecting and exporting to DB) be achieved using Hive queries on the CDAP Table dataset either using Hydrator or asa custom CDAP application?
Thanks,
Shoaib
--
You received this message because you are subscribed to the Google Groups "CDAP User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cdap-user+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to cdap-user+unsubscribe@googlegroups.com.
To post to this group, send email to cdap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cdap-user/b5a436bd-451c-4ebd-b919-568662f8de71%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to cdap-user+unsubscribe@googlegroups.com.
To post to this group, send email to cdap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cdap-user/3b146c48-9adf-4e71-9455-a528067910be%40googlegroups.com.