Comments (4)
When do import, the first warnning log maybe a key infomation as the image shows.
from graphar.
Maybe we can use the APOC procedure, but it only available in
enterprise edition
from graphar.
And anther solution is change the option schema.flatten.limit to 1(default is 10). I change the code
https://github.com/alibaba/GraphAr/blob/fe4ebb9b2dbcf30e63cd3895a51d4d614fe80df3/spark/src/main/scala/com/alibaba/graphar/example/Neo4j2GraphAr.scala#L75-L78
to
val person_df = spark.read
.format("org.neo4j.spark.DataSource")
.option("schema.flatten.limit", 1)
.option("query", "MATCH (n:Person) RETURN n.name AS name, n.born as born")
.load()
and it works, the schema of person_df turns to be
root
|-- name: string (nullable = true)
|-- born: long (nullable = true)
from graphar.
And I think this is not the bug of GraphAr, so I change the title and label to improvement
.
from graphar.
Related Issues (20)
- [Infra] Update the source code header to Apache boilerplate headers
- [Infra] Add NOTICE and update the LICENSE document HOT 1
- [Infra] Check and audit the source for any potential licensing issues HOT 1
- [Infra] Repackaging source code under the Apache namespace HOT 1
- [Infra] IP Clearance and Code Cleanup HOT 2
- [Infra][Doc] Update the documents with Apache branding guide and incubator-graphar-website HOT 1
- [Feat][C++] Support validating the null value in high level HOT 3
- [Apache][Infra] Committer: How to bind GitHub account to Apache account HOT 6
- [Apache][Infra] Add configuration yaml file `.asf.yaml` for project HOT 1
- [Spark-java-refactor] Implement file get, dump and save functions for info
- [Spark-java-refactor] Split java-info to a single submodule HOT 1
- [Feat][DevInfra] Use `korandoru / hawkeye` to check license header
- [Feat][C++] Use `#pragma once` to replace include guard HOT 1
- feat(c++): Find a better uri parser for GraphAr, remove the rely on arrow::internal::URI
- feat(c++): move the `result.hpp` third-party dependency from external directory to third-party directory
- OSPP24 Idea: Implement ETL CLI Tools for GraphAr
- Tracking issue of GraphAr first Apache release HOT 2
- feat(java): rename the java package to 'graphar-java' HOT 2
- feat(java): Add aggregator POM for java and spark library to manage the dependency
- feat(c++): Use C++17's nested namespaces
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphar.