[ https://issues.apache.org/jira/browse/CALCITE-5339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jess Balint closed CALCITE-5339. -------------------------------- Resolved in release 1.33.0 (2023-02-06) > Use Method#getParameterCount rather than Method#getParameters to get length > --------------------------------------------------------------------------- > > Key: CALCITE-5339 > URL: https://issues.apache.org/jira/browse/CALCITE-5339 > Project: Calcite > Issue Type: Improvement > Components: core, tests > Reporter: Sergey Nuyanzin > Assignee: Sergey Nuyanzin > Priority: Major > Labels: pull-request-available > Fix For: 1.33.0 > > Time Spent: 20m > Remaining Estimate: 0h > > The issue with {{Method#getParameters}} is that each time it creates a new > array by calling clone. It does not make sense for the cases when only > knowledge about number of parameters is required -- This message was sent by Atlassian Jira (v8.20.10#820010)