Skip to content

docs(isthmus): javadoc for io.substrait.isthmus function coverter classes#760

Open
mbwhite wants to merge 1 commit intosubstrait-io:mainfrom
mbwhite:fix-javadoc-c-010
Open

docs(isthmus): javadoc for io.substrait.isthmus function coverter classes#760
mbwhite wants to merge 1 commit intosubstrait-io:mainfrom
mbwhite:fix-javadoc-c-010

Conversation

@mbwhite
Copy link
Contributor

@mbwhite mbwhite commented Mar 18, 2026

No description provided.

@mbwhite mbwhite changed the title fix(javadoc): partial isthmus expression docs(isthmus): javadoc for io.substrait.isthmus function coverter classes Mar 23, 2026
Signed-off-by: MBWhite <whitemat@uk.ibm.com>
@mbwhite mbwhite force-pushed the fix-javadoc-c-010 branch from f3d0d26 to 4306679 Compare March 24, 2026 10:27
Copy link
Member

@bestbeforetoday bestbeforetoday left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks generally good. A few inline comments that I think are worth addressing.

Comment on lines -55 to -60
* <ul>
* <li><b>Calcite → Substrait:</b> Subclasses implement {@code convert()} methods to convert
* Calcite calls to Substrait function invocations
* <li><b>Substrait → Calcite:</b> {@link #getSqlOperatorFromSubstraitFunc} converts Substrait
* function keys to Calcite {@link SqlOperator}s
* </ul>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that removing the information in this list lost some useful overview information on how subclass implementors should extend this abstract class effectively. I suggest keeping this information.

Comment on lines -85 to -87
* <p>If there are multiple functions provided with the same name and signature (e.g., from
* different extension URNs), the last one in the list will be given precedence during Calcite to
* Substrait conversion.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found the more verbose original version slightly more explanatory. Particularly the example that functions signatures might be the same for functions defined in different extension URNs.

/** SqlOperator. */
public final SqlOperator operator;

/** Name. */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/** Name. */
/** Substrait function name. */

/** SqlOperator. */
public final SqlOperator operator;

/** Types. */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/** Types. */
/** Allowed output types. */

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants