Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PG连接器表信息反了 #416

Open
Harries opened this issue Nov 12, 2024 · 1 comment
Open

PG连接器表信息反了 #416

Harries opened this issue Nov 12, 2024 · 1 comment

Comments

@Harries
Copy link

Harries commented Nov 12, 2024

 protected TableInfo getTableInfo(TapConnectionContext tapConnectorContext, String tableName) {
        DataMap dataMap = this.postgresJdbcContext.getTableInfo(tableName);
        TableInfo tableInfo = TableInfo.create();
        tableInfo.setNumOfRows(Long.valueOf(dataMap.getString("size")));
        tableInfo.setStorageSize((new BigDecimal(dataMap.getString("rowcount"))).longValue());
        return tableInfo;
    }

行信息存的是size

@jarad0628
Copy link
Collaborator

got,我们下个版本会修复

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

No branches or pull requests

2 participants