Giter Site home page Giter Site logo

Comments (10)

omalley avatar omalley commented on May 30, 2024 1

I got it working with:

  • parquet-mr (master 6e0cc729d)
  • spark (branch-2.3 aa1764ba1a)

I'm not that familiar with gradle and probably misread the error message. I agree that core doesn't look like it has a dependency on parquet. :)

from iceberg.

omalley avatar omalley commented on May 30, 2024

Also, which git hash should I be using for spark? The tip of branch-2.3 (75131ee867bc) didn't work, even after I changed build.gradle to use spark 2.3.1-SNAPSHOT. sigh

from iceberg.

rdblue avatar rdblue commented on May 30, 2024

Core shouldn't have a dependency on Parquet, I was trying to keep that contained to just iceberg-parquet. I'll have a look.

Spark's DataSourceV2 implementation has been changing, so I've been avoiding an update... for example, lots of the classes were just recently renamed in time for the next RC. I plan to base this on 2.3.0 when it is released.

from iceberg.

omalley avatar omalley commented on May 30, 2024

Can you tell me which hash you use for spark?

from iceberg.

rdblue avatar rdblue commented on May 30, 2024
version=2.3.0-SNAPSHOT
user=blue
revision=aa1764ba1addbe7ad79344d5640bf6426267a38c
branch=master
date=2017-12-13T20:22:53Z
url=https://github.com/rdblue/spark.git

from iceberg.

omalley avatar omalley commented on May 30, 2024

Thanks, Ryan. That did the trick.

from iceberg.

rdblue avatar rdblue commented on May 30, 2024

Do you know how iceberg-core depends on parquet-avro? I'm looking at the dependencies and I don't see it:

gradle iceberg-core:dependencies --configuration compile
compile - Dependencies for source set 'main' (deprecated, use 'implementation ' instead).                                                                      
+--- project :iceberg-api              
+--- project :iceberg-avro             
|    +--- project :iceberg-api         
|    +--- project :iceberg-common      
|    \--- org.apache.avro:avro:1.8.2   
|         +--- org.codehaus.jackson:jackson-core-asl:1.9.13                    
|         +--- org.codehaus.jackson:jackson-mapper-asl:1.9.13                  
|         |    \--- org.codehaus.jackson:jackson-core-asl:1.9.13               
|         +--- com.thoughtworks.paranamer:paranamer:2.7                        
|         +--- org.xerial.snappy:snappy-java:1.1.1.3                           
|         +--- org.apache.commons:commons-compress:1.8.1                       
|         +--- org.tukaani:xz:1.5      
|         \--- org.slf4j:slf4j-api:1.7.7                                       
+--- com.fasterxml.jackson.core:jackson-databind:2.6.7                         
|    +--- com.fasterxml.jackson.core:jackson-annotations:2.6.0                 
|    \--- com.fasterxml.jackson.core:jackson-core:2.6.7                        
\--- com.fasterxml.jackson.core:jackson-core:2.6.7                             

Iceberg's Spark support does depend on Parquet, which I agree sucks for now. We'll get a Parquet release out to fix this.

from iceberg.

rdblue avatar rdblue commented on May 30, 2024

You might be able to get at least core working with the latest parquet-avro release. It won't work with column ids, but it might compile and unblock you guys for Avro and ORC.

from iceberg.

rdblue avatar rdblue commented on May 30, 2024

#16 updated Spark to the 2.3.0 release. Thanks, @julienledem!

We'll get a Parquet release out soon, too.

from iceberg.

rdblue avatar rdblue commented on May 30, 2024

Just updated to Parquet 1.10.0.

from iceberg.

Related Issues (20)

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.