Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Input Template to build on -f and -stdin processing #13

Closed
dstreev opened this issue Dec 4, 2019 · 0 comments
Closed

Support Input Template to build on -f and -stdin processing #13

dstreev opened this issue Dec 4, 2019 · 0 comments
Assignees

Comments

@dstreev
Copy link
Owner

dstreev commented Dec 4, 2019

The template is a way to parse the file or stdin processing pipeline to build semantics to run in the cli.

For example an input like:

tpcds_bin_partitioned_orc_250,call_center,MANAGED_TABLE,0,/warehouse/tablespace/managed/hive/tpcds_bin_partitioned_orc_250.db/call_center tpcds_bin_partitioned_orc_250,catalog_sales,MANAGED_TABLE,1837,/apps/hive/warehouse/tpcds_bin_partitioned_orc_250.db/catalog_sales tpcds_bin_partitioned_orc_250,customer,MANAGED_TABLE,0,/warehouse/tablespace/managed/hive/tpcds_bin_partitioned_orc_250.db/customer tpcds_bin_partitioned_orc_250,customer_address,MANAGED_TABLE,0,/warehouse/tablespace/managed/hive/tpcds_bin_partitioned_orc_250.db/customer_address tpcds_bin_partitioned_orc_250,customer_demographics,MANAGED_TABLE,0,/warehouse/tablespace/managed/hive/tpcds_bin_partitioned_orc_250.db/customer_demographics tpcds_bin_partitioned_orc_250,income_band,MANAGED_TABLE,0,/warehouse/tablespace/managed/hive/tpcds_bin_partitioned_orc_250.db/income_band tpcds_bin_partitioned_orc_250,inventory,MANAGED_TABLE,261,/apps/hive/warehouse/tpcds_bin_partitioned_orc_250.db/inventory tpcds_bin_partitioned_orc_250,promotion,MANAGED_TABLE,0,/warehouse/tablespace/managed/hive/tpcds_bin_partitioned_orc_250.db/promotion tpcds_bin_partitioned_orc_250,reason,MANAGED_TABLE,0,/warehouse/tablespace/managed/hive/tpcds_bin_partitioned_orc_250.db/reason tpcds_bin_partitioned_orc_250,ship_mode,MANAGED_TABLE,0,/warehouse/tablespace/managed/hive/tpcds_bin_partitioned_orc_250.db/ship_mode tpcds_bin_partitioned_orc_250,store,MANAGED_TABLE,0,/warehouse/tablespace/managed/hive/tpcds_bin_partitioned_orc_250.db/store tpcds_bin_partitioned_orc_250,store_returns,EXTERNAL_TABLE,2004,/apps/hive/warehouse/tpcds_bin_partitioned_orc_250.db/store_returns tpcds_bin_partitioned_orc_250,time_dim,MANAGED_TABLE,0,/warehouse/tablespace/managed/hive/tpcds_bin_partitioned_orc_250.db/time_dim tpcds_bin_partitioned_orc_250,warehouse,MANAGED_TABLE,0,/warehouse/tablespace/managed/hive/tpcds_bin_partitioned_orc_250.db/warehouse tpcds_bin_partitioned_orc_250,web_site,MANAGED_TABLE,0,/warehouse/tablespace/managed/hive/tpcds_bin_partitioned_orc_250.db/web_site tpcds_bin_partitioned_orc_300,call_center,MANAGED_TABLE,0,/warehouse/tablespace/managed/hive/tpcds_bin_partitioned_orc_300.db/call_center tpcds_bin_partitioned_orc_300,catalog_page,MANAGED_TABLE,0,/warehouse/tablespace/managed/hive/tpcds_bin_partitioned_orc_300.db/catalog_page tpcds_bin_partitioned_orc_300,catalog_returns,MANAGED_TABLE,2103,/warehouse/tablespace/managed/hive/tpcds_bin_partitioned_orc_300.db/catalog_returns

And be able to build and run a cli statement like "count " from each line above.

dstreev added a commit that referenced this issue Dec 5, 2019
@dstreev dstreev closed this as completed Dec 5, 2019
@dstreev dstreev self-assigned this Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant