-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add comma as a valid separator for numeric values #241
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Thanks for your contribution!
@hamc17 , it seems CI does not trigger for PRs created by external contributors. |
HI, the comma is indeed the most used decimal separator in west-europe. So If possible to fix this urgently? This is a blocking issue for us. Can you tell me when this will be available? |
Hi, @a4032 , |
unsuccessfully: picture clause = PIC +9999999,99 USAGE DISPLAY. installed library (maven) : za.co.absa.cobrix:spark-cobol_2.11:2.0.2 data = +0000100,00 after reading the file: the result = 'null' when I use PIC X(11) it shows the correct value but is not numeric: '+0000100,00' can you verify again please ? |
Ye,s but I can installed it. So it is found in the maven library :
[cid:[email protected]]
|
I will take a look. |
The fix for the comma support has missed a fix for the decoder. |
Ok, keep me posted. And thanks for the effort
|
Oops, didn't even remember to check the decoder side. My bad, sorry! |
No worries. I should have checked it more thoroughly, but I'm ooo currently. Thanks for the fix to the parser. It would have taken me much longer to figure it out. |
@a4032 , this should be fixed in |
This PR adds support for numeric values with comma as the decimal separator.
Fixes issue #240.