DaZuiZui commented on PR #18006: URL: https://github.com/apache/iotdb/pull/18006#issuecomment-4901403283
自定义 FFT 时间列的后续更新: 为 FFT 添加了可选的 TIMECOL 支持,默认值为 time,因此具有自定义 TIME 列名(例如 event_time TIMESTAMP TIME)的表可以直接使用 FFT。 验证现在要求 DATA ... ORDER BY 引用 TIMECOL 选择的列,并且 FFT 会将该选定的时间列从值列中排除。 将 TIMECOL 移至 FFT 参数规范(DATA、SAMPLE_INTERVAL、N、NORM、TIMECOL)的末尾,以保留现有的位置参数语义。按预期支持命名用法,例如 TIMECOL => 'event_time'。 添加了自定义时间列用法的单元/规划器/IT 覆盖率,以及规划器覆盖率,其中位置参数(例如 FFT(TABLE(table1) ORDER BY time, 1s, 4, 'ortho'))仍然将 1s 绑定到 SAMPLE_INTERVAL。 此更改已通过正常推送合并到 PR 分支,未使用强制推送。本地运行验证: ``` ./mvnw spotless:apply -pl iotdb-core/node-commons,iotdb-core/datanode ./mvnw test -pl iotdb-core/node-commons -am -Dtest=FFTTableFunctionTest -DfailIfNoTests=false -Dsurefire.failIfNoSpecifiedTests=false -DskipITs ./mvnw test -pl iotdb-core/datanode -am -Dtest=TableFunctionTest#testFFTWithSpecifiedTimeColumn+testFFTPositionalArgumentsKeepExistingOrder -DfailIfNoTests=false -Dsurefire.failIfNoSpecifiedTests=false -DskipITs ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
