bug: add csv data UI: missing leading zero
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2023 06:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2023 07:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2023 09:23 AM
Hi @lizou ,
Can you please check again in your .csv file if the value is appended with zeros and stored as a string only, as per the post I believe you are fine to store the number as a string, and I am not facing any issues.
I tried to replicate the same as mentioned below
Created a .csv file with numbers as text with zeros at the start and manually uploaded in UI of the data tab in databricks and read into df , working fine without any issues as shown below,
Please let me know if this answers your query
Happy Learning!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2023 04:06 PM
there are no issues using spark.read in notebooks
the issue is specific to using Add Data User interface and adding a csv file manually.