Skip to content
Snippets Groups Projects
Commit 07bfbabf authored by Julien Lopez's avatar Julien Lopez
Browse files

Add a test on join cross PostgreSQL and HBase

parent 89967762
Branches
No related tags found
No related merge requests found
emp = new.tableRef("emp", "PostgreSQL", "postgre.config", "public")
dept = new.tableRef("dept", "HBase", "hbase-site.xml", "default")
q = select(function (x) {
res = new.env()
res$ename = x$ename
res },
where(function (x) x$loc == "NEW YORK",
join(from(emp), from(dept), function (x,y) x$deptno == y$deptno)))
results = query.force(q)
print(results)
ename
1 CLARK
2 KING
3 MILLER
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment