Option to treat numeric strings as canonic numbers
Final Release Note
Description
Languages other than M expect numeric strings that are not canonical numbers to be treated as numerical values.
Draft Release Note
With the [NO]FORCE_NUMERIC_CANONIC VIEW keyword, any strings that non-M programming languages would consider to be numeric are converted and treated as canonic numbers when used as subscripts or arithmetic operations.
For example, the NOFORCE_NUMERIC_CANONIC behavior is:
YDB>set x=1,y="1.0",z=2
YDB>write x=y," ",y]]z
0 1
YDB>
whereas with FORCE_NUMERIC_CANONIC, the behavior is:
YDB>set x=1,y="1.0",z=2
YDB>write x=y," ",y]]z
1 0
YDB>
The default is NOFORCE_NUMERIC_CANONIC. The environment variable ydb_force_numeric_canonic
if set to 1 or a case-insensitive value of TRUE or YES, instructs the process to start with FORCE_NUMERIC_CANONIC set. [#1031]
Edited by K.S. Bhaskar