Skip to content

soumilshah1995/xtable-sync-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xtable-sync-lambdaUntitled Diagram drawio-2

Downlaod Sample Hudi Table

https://drive.google.com/file/d/1uaSukJCFOvNIE1UygmLGt91G83vAOEz8/view?usp=sharing

Deploy steps

nano config.yaml
sourceFormat: HUDI

targetFormats:
  - ICEBERG
datasets:
  -
    tableBasePath: s3://<>/hudi/people
    tableName: people
    partitionSpec: city:VALUE
    namespace: icebergdb
Ship config file to S3
aws s3 cp <PATH>/config.yaml s3://XXXconfig/config.yaml

Test it

docker build -t xtable-lambda .

docker run -p 9000:8080 \
    -v ~/.aws:/root/.aws:ro \
    xtable-lambda

curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d '{"path":"s3://datalake-demo-1995/config/config.yaml"}'

Deploy prod

sls deploy

Refenrces

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published