[ 
https://issues.apache.org/jira/browse/PHOENIX-3107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

qinzl updated PHOENIX-3107:
---------------------------
    Description: 
when upsert into table ,if some field is null or space will throw 
 ERROR 604 (42P00): Syntax error. Mismatched input. Expecting "LPAREN", got ","

look like:
upsert into qding_passport.user_integral_detail 
values('ff8080814fb690fc014fb69e67640965', '277ce5fee42a494f9148e1cdcfa90439', 
1, 1000, 1000, 'init', 'init', '初始积分', , , '', , NULL, , NULL, , '初始77878628, 
'M', , , , 0, , , , );


  was:
when upsert into table ,if some field is null or space will throw 
 ERROR 604 (42P00): Syntax error. Mismatched input. Expecting "LPAREN", got ","



> upsert null or space into field
> -------------------------------
>
>                 Key: PHOENIX-3107
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3107
>             Project: Phoenix
>          Issue Type: New Feature
>            Reporter: qinzl
>
> when upsert into table ,if some field is null or space will throw 
>  ERROR 604 (42P00): Syntax error. Mismatched input. Expecting "LPAREN", got 
> ","
> look like:
> upsert into qding_passport.user_integral_detail 
> values('ff8080814fb690fc014fb69e67640965', 
> '277ce5fee42a494f9148e1cdcfa90439', 1, 1000, 1000, 'init', 'init', '初始积分', , 
> , '', , NULL, , NULL, , '初始77878628, 'M', , , , 0, , , , );



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to