Caideyipi commented on code in PR #16575:
URL: https://github.com/apache/iotdb/pull/16575#discussion_r2431378201
##########
iotdb-core/datanode/src/test/java/org/apache/iotdb/db/pipe/source/PipePlanTreePatternParseVisitorTest.java:
##########
@@ -56,8 +57,11 @@
import java.util.Map;
public class PipePlanTreePatternParseVisitorTest {
- private final IoTDBTreePattern prefixPathPattern = new
IoTDBTreePattern("root.db.device.**");
- private final IoTDBTreePattern fullPathPattern = new
IoTDBTreePattern("root.db.device.s1");
+
+ private final UnionIoTDBTreePattern prefixPathPattern =
+ new UnionIoTDBTreePattern(new IoTDBTreePattern("root.db.device.**"));
+ private final UnionIoTDBTreePattern fullPathPattern =
+ new UnionIoTDBTreePattern(new IoTDBTreePattern("root.db.device.s1"));
Review Comment:
Maybe add a "s2" and change some of the tests to "s2"?
--
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]