Skip to content
This repository was archived by the owner on Jul 9, 2021. It is now read-only.

SQOOP-3465: InformationSchemaManager doesn't sort column names in ordinal orders #88

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -52,7 +52,8 @@ protected String getListColumnsQuery(String tableName) {
return
"SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS "
+ "WHERE TABLE_SCHEMA = (" + getSchemaQuery() + ") "
+ " AND TABLE_NAME = '" + tableName + "' ";
+ " AND TABLE_NAME = '" + tableName + "' "
+ " ORDER BY ORDINAL_POSITION";
}

@Override