RE: unique_id() not documented and get messy code

2018-03-10 Thread Liu, Ming (Ming)
Hi, Yes, as Anoop explained, unique_id() is not documented and it returns binary data type, so one will see strange displaying. The right usage is for application to get the raw data for its own purpose or use convertohex if just for human readability. However, I don't see unique_id() used in

The importance of 'fix version' in the JIRA, please fill it correctly

2018-03-10 Thread Ming Liu
Hi, all, When I prepare the Release Note for R2.2.0, I found a problem that developers sometimes wrongly specify the 'fixed version' as R2.2, but the real fix code not merged into R2.2 branch. Now R2.2 is closed for code merge, so any new JIRA or ongoing JIRA, please DON"T use R2.2 as the 'fi

Trafodion master rh6 Daily Test Result - 378 - Fixed

2018-03-10 Thread steve . varnau
Daily Automated Testing master rh6 Jenkins Job: https://jenkins.esgyn.com/job/Check-Daily-master-rh6/378/ Archived Logs: http://traf-testlogs.esgyn.com/Daily-master/378 Bld Downloads: http://traf-builds.esgyn.com Changes since previous daily build: No changes Test Job Results: SUCCESS build-

how to get original text for value_expression in the parser

2018-03-10 Thread Liu, Ming (Ming)
Hi, all, I am trying to get the text string in the parser for product 'value_experssion', but I cannot find a good way to do it for a long time without success. Does anyone know how to do that? Example, here is a production for function firstdayofyear: | TOK_FIRSTDAYOFYEAR '(' value_expre

答复: how to get original text for value_expression in the parser

2018-03-10 Thread xiaozhong.wang
I think you need to modify lex, the suffix is .ll file in EsgynDB. Zhenxin.He and Wenjun.Zhu did the similar thing as you want. You can ask them. 发送自 Windows 10 版邮件应用 发件人: Liu, Ming (Ming) 发送时间: 2018年3月10日 22:24 收件人: dev@trafodion.apache.org 主题: how to get original text for value_expression in th

RE: how to get original text for value_expression in the parser

2018-03-10 Thread Anoop Sharma
Is this string representation needed for display purpose or something else? There is a virtual 'unparse' method defined on ItemExpr class which is the base class for value_expression. Calling that method will return the string representation by traversing over the tree. This method is used for cre

RE: how to get original text for value_expression in the parser

2018-03-10 Thread Liu, Ming (Ming)
thanks Anoop and XiaoZhong, I will try the unparse The purpose is: save the text string in MD tables as column's default value. When later do INSERT, parse this string to generate the runtime structure. To support some user required default value in table definition. For example col1 char(10) de