aws-samples / aws-samples/csv-to-dynamodb

Decimal value issue

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
94
Forks
93
PR merge metrics
No merged PRs in 30d

Description

In my schema I have:
"inttimesecs","v1","v2","v3","v4","gps_lat","gps_lon"
1657997362,414.7,417.0,416.8,417.0,33.10318374633789,-117.24636840820312

I get errors saying "Float types are not supported. Use Decimal types instead"

Well, I like my float types! Perhaps I can get around V1, V2 and multiply by 10 to get rid of decimal but I don't want to do that with lat/lon where decimal places are variable, and I don't want to treat them like strings since then I could not do even rectangular geofencing.

Although perhaps outside the scope of this tutorial: any ideas are appreciated!

Contributor guide

Open the contributing guide

Research direction

The report names no files, tests, or entry points. First clarify whether the desired outcome is native float support or guidance for converting latitude and longitude, then define acceptance criteria for variable-precision coordinates and the supported behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.