succinct icon indicating copy to clipboard operation
succinct copied to clipboard

WIP: Add support for Array-Type in JSON

Open muditsin opened this issue 6 years ago • 16 comments

Fixes: https://github.com/amplab/succinct/issues/35

muditsin avatar Jan 20 '19 09:01 muditsin

Can one of the admins verify this patch?

AmplabJenkins avatar Jan 20 '19 09:01 AmplabJenkins

@anuragkh PR is currently WIP, but wanted to check if the approach was alright

muditsin avatar Jan 20 '19 09:01 muditsin

Hi @muditsin, thanks for contributing!

The approach looks about right to me, although there is some code duplication (e.g., parsing the values in the array is the same as parsing individual values). Perhaps making them modular might help reduce code redundancy.

anuragkh avatar Jan 20 '19 22:01 anuragkh

@anuragkh Updated to reduce duplication. Thanks!

muditsin avatar Feb 02 '19 10:02 muditsin

Jenkins, test this please.

anuragkh avatar Feb 02 '19 21:02 anuragkh

Jenkins, test this please.

anuragkh avatar Feb 02 '19 21:02 anuragkh

Test FAILed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins//job/Succinct-PRB/3/

Build result: FAILURE

[...truncated 216 lines...][INFO] ------------------------------------------------------------------------Waiting for Jenkins to finish collecting data[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project succinct-serde: Compilation failure[ERROR] /home/jenkins/workspace/Succinct-PRB/serde/src/main/java/edu/berkeley/cs/succinct/object/deserializer/JsonDeserializer.java:[119,54] error: ';' expected[ERROR] -> [Help 1][ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException[ERROR] [ERROR] After correcting the problems, you can resume the build with the command[ERROR] mvn -rf :succinct-serde[JENKINS] Archiving /home/jenkins/workspace/Succinct-PRB/assembly/pom.xml to amplab/succinct-assembly/0.1.8/succinct-assembly-0.1.8.pom[JENKINS] Archiving /home/jenkins/workspace/Succinct-PRB/pom.xml to amplab/succinct/0.1.8/succinct-0.1.8.pom[JENKINS] Archiving /home/jenkins/workspace/Succinct-PRB/spark/pom.xml to amplab/succinct-spark/0.1.8/succinct-spark-0.1.8.pom[JENKINS] Archiving /home/jenkins/workspace/Succinct-PRB/serde/pom.xml to amplab/succinct-serde/0.1.8/succinct-serde-0.1.8.pom[JENKINS] Archiving /home/jenkins/workspace/Succinct-PRB/core/pom.xml to amplab/succinct-core/0.1.8/succinct-core-0.1.8.pom[JENKINS] Archiving /home/jenkins/workspace/Succinct-PRB/core/target/succinct-core-0.1.8.jar to amplab/succinct-core/0.1.8/succinct-core-0.1.8.jar[JENKINS] Archiving /home/jenkins/workspace/Succinct-PRB/core/target/succinct-core-0.1.8-tests.jar to amplab/succinct-core/0.1.8/succinct-core-0.1.8-tests.jar[JENKINS] Archiving /home/jenkins/workspace/Succinct-PRB/core/target/succinct-core-0.1.8-jar-with-dependencies.jar to amplab/succinct-core/0.1.8/succinct-core-0.1.8-jar-with-dependencies.jarSending e-mails to: [email protected] stopped Test FAILed.

AmplabJenkins avatar Feb 02 '19 21:02 AmplabJenkins

Jenkins, test this please.

muditsin avatar Feb 03 '19 06:02 muditsin

Jenkins, test this please.

muditsin avatar Feb 06 '19 06:02 muditsin

Jenkins, test this please.

anuragkh avatar Feb 06 '19 07:02 anuragkh

@muditsin, Jenkins is only triggered by repo admins and whitelisted committers atm. I'll add you to whitelist.

anuragkh avatar Feb 06 '19 07:02 anuragkh

Jenkins, add to whitelist.

anuragkh avatar Feb 06 '19 07:02 anuragkh

Test PASSed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins//job/Succinct-PRB/4/ Test PASSed.

AmplabJenkins avatar Feb 06 '19 07:02 AmplabJenkins

Test PASSed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins//job/Succinct-PRB/5/ Test PASSed.

AmplabJenkins avatar Feb 06 '19 07:02 AmplabJenkins

@muditsin Can you please add tests for the new data types you have added?

anuragkh avatar Feb 06 '19 07:02 anuragkh

@anuragkh Sure

muditsin avatar Feb 06 '19 07:02 muditsin