beryllw commented on code in PR #2573:
URL: https://github.com/apache/fluss/pull/2573#discussion_r2766769076
##########
fluss-client/src/main/java/org/apache/fluss/client/lookup/Lookup.java:
##########
@@ -111,4 +111,12 @@ default Lookup lookupBy(String... lookupColumnNames) {
* @return the typed lookuper
*/
<T> TypedLookuper<T> createTypedLookuper(Class<T> pojoClass);
+
+ /**
+ * Enables insert-if-not-exists behavior for the lookup operation. When
enabled, if a lookup
+ * does not find a matching row, a new row will be inserted with the
lookup key values.
+ *
+ * @return a new Lookup instance with insert-if-not-exists enabled
+ */
+ Lookup enableInsertIfNotExists();
Review Comment:
`Lookup.enableInsertIfNotExists()` doesn't document:
Auto-increment column handling, Nullable column restriction.
--
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]