• Rucha Deodhar's avatar
    MDEV-19487: JSON_TYPE doesnt detect the type of String Values · d7df63e1
    Rucha Deodhar authored
    (returns NULL) and for Date/DateTime returns "INTEGER"
    
    Analysis:
    When the first character of json is scanned it is number. Based on that
    integer is returned.
    Fix:
    Scan rest of the json before returning the final result to ensure json is
    valid in the first place in order to have a valid type.
    d7df63e1
item_jsonfunc.cc 93.2 KB