DaZuiZui commented on PR #18006: URL: https://github.com/apache/iotdb/pull/18006#issuecomment-4888788128
已更新 PR 分支,主要改动如下: - 移除了 `iotdb-core/node-commons` 对 `JTransforms` 的 Maven 依赖,避免在核心模块新增第三方依赖。 - 新增包内 `DoubleFft1d` 实现,`FFTTableFunction` 改为直接使用该内置实现。 - `DoubleFft1d` 保留了 `DoubleFFT_1D#complexForward(double[])` 这次表函数需要的 double complex forward FFT 能力:2 的幂长度走 radix-2,非 2 的幂长度走 Bluestein,因此不收窄 `N` 的行为。 - 在 `LICENSE` 中补充了 JTransforms/BSD-2-Clause 来源说明。 - 补充了 `N = 3` 的非 2 的幂单测覆盖。 验证: - `./mvnw spotless:apply -pl iotdb-core/node-commons` - `./mvnw test -pl iotdb-core/node-commons -am -Dtest=FFTTableFunctionTest -Dsurefire.failIfNoSpecifiedTests=false -DfailIfNoTests=false -DskipITs` - 额外用本地 JTransforms 3.1 jar 对多组长度输出做了对照校验,结果一致。 -- 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]
