[ https://issues.apache.org/jira/browse/TRAFODION-2162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15420552#comment-15420552 ]
ASF GitHub Bot commented on TRAFODION-2162: ------------------------------------------- GitHub user anoopsharma00 opened a pull request: https://github.com/apache/incubator-trafodion/pull/658 TRAFODION-2162 showplan enhancement to display expr instruction display the instruction enum being generated in text format. Output will include the instruction and look like: Clause #2: ex_arith_clause ... instruction: ADD_BIN16S_BIN16S_BIN16S(0), instrArrayIndex_: 0 Clause #1: ex_comp_clause OperatorTypeEnum = ITM_GREATER(2024), NumOperands = 3 ... instruction: GT_BIN32S_BIN16S(40), instrArrayIndex_: 218 In addition, some cleanup has been done in expression code. You can merge this pull request into a Git repository by running: $ git pull https://github.com/anoopsharma00/incubator-trafodion ansharma_showplan_br Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-trafodion/pull/658.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #658 ---- commit 4c83ecab0363b8ddde84c92a7843b26e72c82413 Author: Anoop Sharma <anoop.sha...@esgyn.com> Date: 2016-08-15T01:35:03Z showplan enhancement to display expr instruction display the instruction enum being generated in text format. Output will include the instruction and look like: Clause #2: ex_arith_clause ... instruction: ADD_BIN16S_BIN16S_BIN16S(0), instrArrayIndex_: 0 Clause #1: ex_comp_clause OperatorTypeEnum = ITM_GREATER(2024), NumOperands = 3 ... instruction: GT_BIN32S_BIN16S(40), instrArrayIndex_: 218 In addition, some cleanup has been done in expression code. ---- > Enhance showplan output to show the expr instruction being generated > -------------------------------------------------------------------- > > Key: TRAFODION-2162 > URL: https://issues.apache.org/jira/browse/TRAFODION-2162 > Project: Apache Trafodion > Issue Type: Improvement > Reporter: Anoop Sharma > Assignee: Anoop Sharma > Priority: Minor > > Currently, showplan doesnt show the instruction being generated > for the conversion, comparison, arith, etc expression. > This instruction is used at runtime to switch to the appropriate > case stmt which needs to be executed. > This enhancement is to display the actual case index that is being > generated. -- This message was sent by Atlassian JIRA (v6.3.4#6332)