You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@linkis.apache.org by GitBox <gi...@apache.org> on 2022/03/09 06:33:27 UTC

[GitHub] [incubator-linkis] casionone opened a new issue #1638: [Bug][Linkis-PS-Metadatamanager]MetaMethodInvokeException:wrong number of arguments

casionone opened a new issue #1638:
URL: https://github.com/apache/incubator-linkis/issues/1638


   ### Search before asking
   
   - [X] I searched the [issues](https://github.com/apache/incubator-linkis/issues) and found no similar issues.
   
   
   ### Linkis Component
   
   linkis-public-enhancements
   
   ### What happened + What you expected to happen
   
   Fail to invoke method: [getPartitions] in meta service instance: [org.apache.linkis.metadatamanager.service.MysqlMetaService]
   with wrong number of arguments
   ```
    public MetaPartitionInfo getPartitions(
               String operator,
               Map<String, Object> params,
               String database,
               String table,
               boolean traverse) {
           return this.getConnAndRun(
                   operator, params, conn -> this.queryPartitions(conn, database, table, traverse));
       }
   ```
   The parameter traverse was not passed through the client entity class MetadataGetPartitionsAction
   
   ### Relevent platform
   
   None
   
   ### Reproduction script
   
   ```    
   new LinkisMetaDataRemoteClient(clientConfig)
   .getPartitions(MetadataGetPartitionsAction.builder()
   .setUser("xxx")
   .setDataSourceId(5)
   .setDatabase("linkis")
   .setSystem("system")
   .setTable("linkis_datasource").build()).
   getProps
   ```
   
   ### Anything else
   
   None 
   
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!


-- 
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: dev-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@linkis.apache.org
For additional commands, e-mail: dev-help@linkis.apache.org