Comments (3)
You can pass userSchema
option and your schema along with that otherwise it creates schema from the data on first page of dynamodb table.
from spark-dynamodb.
thanks! this helps.
This library returned an empty dataframe when I tried to read a DDB table with both range key and hash key. Is this a known behaviour?
from spark-dynamodb.
@siah210 you should pass schema with .schema() parameter just like you do to normal DF that would work.
from spark-dynamodb.
Related Issues (20)
- v1.0.4 on Maven is incorrect.
- DynamoDB load always uses full scan instead of the specified global secondary index in Python
- NoClassDefFoundError on Java8 JFunction
- ClassNotFoundException: com.audienceproject.spark.dynamodb.datasource.DynamoWriterFactory
- AWS token can expire during job
- Null Pointer Exception with version 1.1.2 HOT 1
- IllegalArgumentException: No region provided HOT 1
- Getting started HOT 1
- NPE while trying to connect to a LSI of a table from TableIndexConnector HOT 1
- In python following readme example but unable to print out any data HOT 3
- how to store dataframe in dynamodb
- Caused by: com.amazonaws.services.dynamodbv2.model.AmazonDynamoDBException: The provided key element does not match the schema HOT 2
- Projection pushdown feature similar to Filter pushdown HOT 1
- How to import the module in pyspark? HOT 1
- Error when trying to write pyspark dataframe to DynamoDB HOT 1
- Error when load small amount of data on large cluster
- Nullpointer Exception when Try to write dataframe to Dynamodb
- How to import the module in AWS Glue PySpark
- DynamoDB's write mode is batch mode, but option "update" is "true" HOT 1
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 spark-dynamodb.