public List<HudiColumnInfo> getColumns(
            String dbName,
            String tableName)
            throws TException {
        Table hiveTable = client.getTable(dbName, tableName);
        List<FieldSchema> allCols = hiveTable.getSd().getCols().stream()
                // filter out the metadata columns
                .filter(s -> !HudiUtils.isMetadataFile(s.getName()))
                .collect(Collectors.toList());

        return allCols.stream()
                .map((FieldSchema s) -> {
                    HudiColumnInfo info = new HudiColumnInfo();
                    info.setName(s.getName());
                    info.setType(s.getType());
                    return info;
                })
                .collect(Collectors.toList());
    }
get column infos of exist hudi table
@param dbName the database name
@param tableName the table name
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/resource/sink/hudi/HudiCatalogClient.java