This file provides context and guidelines for AI coding assistants working with the Apache Paimon codebase.
Prefer the smallest possible build/test scope and use the local iteration speedup techniques below to keep feedback loops fast.
Prefer using Maven module selection to minimize the build scope.
mvn -pl <module> -DskipTests compilemvn -pl <module1>,<module2> -DskipTests compilePrefer running the narrowest tests.
mvn -pl <module> -Dtest=TestClassName#methodName testmvn -pl <module> -Dtest=TestClassName testPrefer these skip options for faster local iteration, but don't rely on them for final verification.
-Dcheckstyle.skip -Dspotless.check.skip -Denforcer.skip
For example:
mvn -pl <module> -Dcheckstyle.skip -Dspotless.check.skip -Denforcer.skip -Dtest=TestClassName#methodName test
If your target module depends on other modules you've changed locally, prefer -am to rebuild them together in the same reactor. Also add -DfailIfNoTests=false to avoid failures for modules without tests.
For example:
mvn -pl <module> -am -DfailIfNoTests=false -Dtest=TestClassName#methodName test