[jira] [Created] (IOTDB-4470) Use code generation to accelerate expression calculations

2022-09-20 Thread Xi Zhang (Jira)
Xi Zhang created IOTDB-4470:
---

 Summary: Use code generation to accelerate expression calculations
 Key: IOTDB-4470
 URL: https://issues.apache.org/jira/browse/IOTDB-4470
 Project: Apache IoTDB
  Issue Type: New Feature
Reporter: Xi Zhang
Assignee: Xi Zhang


when selecting expressions like (a+b)*c, iotdb use too many virtual function 
calls.

we can avoid these repeat function call

just generate source code `return (a+b)*c` and then compile it. We will get a 
much faster expression evaluator.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (IOTDB-4197) Fix display of IS (NOT) NULL expression

2022-08-21 Thread Xi Zhang (Jira)
Xi Zhang created IOTDB-4197:
---

 Summary: Fix display of IS (NOT) NULL expression
 Key: IOTDB-4197
 URL: https://issues.apache.org/jira/browse/IOTDB-4197
 Project: Apache IoTDB
  Issue Type: Bug
Reporter: Xi Zhang
Assignee: Xi Zhang
 Attachments: image-2022-08-21-15-52-30-604.png

`select expression is null from ...` will be displayed as expression IS NOT NULL

fix this bug

!image-2022-08-21-15-52-30-604.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (IOTDB-3068) Reduce redundant function call when calculate expressions

2022-05-01 Thread Xi Zhang (Jira)
Xi Zhang created IOTDB-3068:
---

 Summary: Reduce redundant function call when calculate expressions
 Key: IOTDB-3068
 URL: https://issues.apache.org/jira/browse/IOTDB-3068
 Project: Apache IoTDB
  Issue Type: Improvement
Reporter: Xi Zhang
Assignee: Xi Zhang


When calculate expressions, functions like getTSDatatype and isConstant are 
called for every single valid timestamp. But in fact, we just need to call them 
once.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Created] (IOTDB-3048) Structure of BinaryTransformer can be optimized

2022-04-29 Thread Xi Zhang (Jira)
Xi Zhang created IOTDB-3048:
---

 Summary: Structure of BinaryTransformer can be optimized
 Key: IOTDB-3048
 URL: https://issues.apache.org/jira/browse/IOTDB-3048
 Project: Apache IoTDB
  Issue Type: Improvement
Reporter: Xi Zhang
Assignee: Xi Zhang


A lot of switch case statements are used in BinaryTransformer, and the enum 

TransformerType seems to be redundant. We can rewrite it wilh sbstract methods



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Created] (IOTDB-2912) Upgrade where clause to support more powerful expressions

2022-04-13 Thread Xi Zhang (Jira)
Xi Zhang created IOTDB-2912:
---

 Summary: Upgrade where clause to support more powerful expressions
 Key: IOTDB-2912
 URL: https://issues.apache.org/jira/browse/IOTDB-2912
 Project: Apache IoTDB
  Issue Type: New Feature
Reporter: Xi Zhang
Assignee: Xi Zhang


Current where clause in select just support simple compare expression and 
simple logic expression. We can upgrade the filter system to support complex 
expression with UDF supported. (Current filter system can just compare 
variables with constants.)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Created] (IOTDB-2888) Can't select expression with unary operator followed by a constant expression.

2022-04-12 Thread Xi Zhang (Jira)
Xi Zhang created IOTDB-2888:
---

 Summary: Can't select expression with unary operator followed by a 
constant expression.
 Key: IOTDB-2888
 URL: https://issues.apache.org/jira/browse/IOTDB-2888
 Project: Apache IoTDB
  Issue Type: Bug
  Components: Core/Query
Reporter: Xi Zhang
Assignee: Xi Zhang


When you select unary expression with a constant expression, it will throw 
{quote}java.lang.UnsupportedOperationException
{quote}
for example
{quote}select - 1 + s1 from root.test;
{quote}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Created] (IOTDB-2882) schema display error

2022-04-11 Thread Xi Zhang (Jira)
Xi Zhang created IOTDB-2882:
---

 Summary: schema display error
 Key: IOTDB-2882
 URL: https://issues.apache.org/jira/browse/IOTDB-2882
 Project: Apache IoTDB
  Issue Type: Bug
  Components: Core/Query
Reporter: Xi Zhang
Assignee: Xi Zhang
 Attachments: schema_error.jpg

Display of the uniary expression for the query result may be wrong.

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)