XenonIO / little-pig

0 stars 0 forks source link

Apache Pig (running local / -x local) on a simple Pig script that calls a Ruby UDF via JRuby #2

Open ramartz opened 6 years ago

ramartz commented 6 years ago

Apache Pig (running local / -x local) on a simple Pig script that calls a Ruby UDF via JRuby to access an AwsSync service presenting a GraphQL interface to DynamoDB. You must put data into a simple DynamoDB instance then query data using GraphQL endpoint (from AwsSync). Queries must work in Ruby or JRuby->Pig UDF called from a pig script.

sharkcoder7 commented 6 years ago

Data will be stored in Amazon Dynamo DB using GraphQL?

sharkcoder7 commented 6 years ago

I did not understand this phrase Queries must work in Ruby or JRuby->Pig UDF called from a pig script. Can you please describe in details?

usiegj00 commented 6 years ago

Data will be coming from Dynamo DB, via AWS Appsync which exposes a GraphQL interface.

The script should do the heavy lifting in Ruby, not in Java. So need the JRuby -> pig UDF capability.