You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using ToString("j") on a Parquet.Data.Rows.Row object, the string should return a string formatted like a json string.
Actual behavior
When using ToString("j") on a Parquet.Data.Rows.Row object, the string returns a string formatted like a json string, however, the decimal values within the parquet is "12,5" and the json string looks like {"property_name": 12,5, "property_name_2: value} which is not a valid json string.
Normally you would be able to specify CultureInfo.InvariantCulture to get the decimals to convert as "12.5". How would you do that here?
Steps to reproduce the behavior
Create an ParquetReader from a file with decimal values
How is it by design to return broken JSON? And if a fix is welcomed, why not consider this a bug and keep the issue opened?
My team is also affected by this issue. We actually switched to this ToString() method because class deserialization also is broken due to #434
Version: Parquet.Net v3.9.1
Runtime Version: .Net Core 3.1
OS: Windows/Linux/MacOSX v etc.
Expected behavior
When using ToString("j") on a Parquet.Data.Rows.Row object, the string should return a string formatted like a json string.
Actual behavior
When using ToString("j") on a Parquet.Data.Rows.Row object, the string returns a string formatted like a json string, however, the decimal values within the parquet is "12,5" and the json string looks like {"property_name": 12,5, "property_name_2: value} which is not a valid json string.
Normally you would be able to specify CultureInfo.InvariantCulture to get the decimals to convert as "12.5". How would you do that here?
Steps to reproduce the behavior
Code snippet reproducing the behavior
The text was updated successfully, but these errors were encountered: