Skip to content

Remove built-in jexl function in tree mode#17092

Merged
JackieTien97 merged 1 commit into
masterfrom
jexlDel
Jan 28, 2026
Merged

Remove built-in jexl function in tree mode#17092
JackieTien97 merged 1 commit into
masterfrom
jexlDel

Conversation

@JackieTien97

Copy link
Copy Markdown
Contributor

This pull request removes support for the JEXL user-defined table function (UDF) from the codebase. The removal includes code, configuration, and tests related to the JEXL function, as well as its dependency.

Key changes:

Removal of JEXL UDF support:

  • Deleted the JEXL entry from the BuiltinTimeSeriesGeneratingFunction enum, so it is no longer recognized as a built-in function (iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/udf/BuiltinTimeSeriesGeneratingFunction.java).
  • Removed the import of the UDTFJexl class from the same file, cleaning up unused imports (iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/udf/BuiltinTimeSeriesGeneratingFunction.java).
  • Deleted the JEXL entry from the BuiltinTimeSeriesGeneratingFunctionEnum enum, fully removing its enumeration from the test constants (integration-test/src/main/java/org/apache/iotdb/itbase/constant/BuiltinTimeSeriesGeneratingFunctionEnum.java).

Test and dependency cleanup:

  • Removed the testUDTFJexl test case, which exercised the JEXL UDF, from the integration tests (integration-test/src/test/java/org/apache/iotdb/db/it/udf/IoTDBUDTFBuiltinFunctionIT.java).
  • Removed the commons-jexl3 dependency from both the Maven pom.xml and the dependencies.json file, since it is no longer needed (iotdb-core/node-commons/pom.xml, dependencies.json) [1] [2].

@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Jan 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 39.18%. Comparing base (0b25ea2) to head (f72edaf).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##             master   #17092    +/-   ##
==========================================
  Coverage     39.18%   39.18%            
  Complexity      282      282            
==========================================
  Files          5129     5128     -1     
  Lines        343253   343113   -140     
  Branches      43768    43758    -10     
==========================================
- Hits         134493   134465    -28     
+ Misses       208760   208648   -112     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JackieTien97 JackieTien97 merged commit b40b74b into master Jan 28, 2026
37 of 38 checks passed
@Wei-hao-Li Wei-hao-Li deleted the jexlDel branch January 28, 2026 03:32
JackieTien97 added a commit that referenced this pull request Feb 12, 2026
JackieTien97 added a commit that referenced this pull request Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants