Giter VIP home page Giter VIP logo

rheem-api-scala-java's People

Contributors

berttty avatar luckyasser avatar sekruse avatar zkaoudi avatar

Watchers

 avatar  avatar  avatar

rheem-api-scala-java's Issues

Issue with joining records

It seems that there is an issue with joining two RecordsDataQuantaBuilder. I did something like this:

JoinDataQuantaBuilder<Record, Record, Object> joinedRecords = sAndC
                 .join(record -> record.getField(0), sAndP, record -> record.getField(0));

Here is the stack trace:

Exception in thread "main" java.lang.IllegalArgumentException: Cannot connect out@Map[1->1, id=e7edb54] of DataSetType[RecordType[s, o]] to in1@Join[2->1, id=378542de] of type DataSetType[BasicDataUnitType[Void]].
 at org.qcri.rheem.core.plan.rheemplan.Operator.connectTo(Operator.java:188)
 at org.qcri.rheem.api.DataQuanta.connectTo(DataQuanta.scala:121)
 at org.qcri.rheem.api.DataQuanta.joinJava(DataQuanta.scala:443)
 at org.qcri.rheem.api.JoinDataQuantaBuilder.build(DataQuantaBuilder.scala:1300)
 at org.qcri.rheem.api.BasicDataQuantaBuilder.dataQuanta(DataQuantaBuilder.scala:523)
 at org.qcri.rheem.api.DataQuantaBuilder$class.collect(DataQuantaBuilder.scala:349)
 at org.qcri.rheem.api.BasicDataQuantaBuilder.collect(DataQuantaBuilder.scala:428)
 at com.haydarai.examples.JenaJavaExample.main(JenaJavaExample.java:37)

I have been able to pinpoint the issue, it is in this part where it gets void

inputDataQuanta0.dataQuanta().joinJava(keyUdf0, inputDataQuanta1.dataQuanta(), keyUdf1)(inputDataQuanta1.classTag, this.keyTag)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.