apache / apache/hop

[Bug]: Data Set Metadata format

Open
#3,970 0 comments 0 reactions 0 assignees View on GitHub
awaiting triage Metadata P3
Dominant language
Java
Stars
1.5k
Forks
476
Avg merge
18h 32m
Merged PRs (30d)
216

Description

### Apache Hop version?

2.8

### Java version?

openjdk version "21.0.3" 2024-04-16 LTS OpenJDK Runtime Environment Microsoft-9388422 (build 21.0.3+9-LTS) OpenJDK 64-Bit Server VM Microsoft-9388422 (build 21.0.3+9-LTS, mixed mode, sharing)

### Operating system

Windows

### What happened?

if i create a data set and do not set format/length/precision. Create some numeric data with and re-open the dataset... it write data only up to one digit. Do HOP guarantees this behavior?
Pi field Number
save as 3.14 and reopen as 3.1
csv file contains 3.1
![image](https://github.com/apache/hop/assets/26059432/e16fadb5-c3dd-4a50-9c4d-de86d3ee290b)
![image](https://github.com/apache/hop/assets/26059432/d2b62d40-2fb2-4dce-89a7-fc20bc11c514)
![image](https://github.com/apache/hop/assets/26059432/e8080f7e-5232-45af-85ac-81fb45aecc27)

### Issue Priority

Priority: 3

### Issue Component

Component: Metadata

Contributor guide

Open the contributing guide

Research direction

Start by reproducing this in Apache Hop 2.8 on Windows with a dataset whose numeric field has no format, length, or precision. Investigate the Metadata component and compare the saved value, reopened dataset, and CSV output. Done means a value such as 3.14 is preserved after reopening and in the CSV, or the behavior is documented as guaranteed.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.