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

Fix bug that getting compatible type for TIME with other types fails #1544

Merged
merged 1 commit into from Jul 26, 2019
Merged

Fix bug that getting compatible type for TIME with other types fails #1544

merged 1 commit into from Jul 26, 2019

Conversation

chenhao7253886
Copy link
Contributor

No description provided.

compatibilityMatrix[DATETIME.ordinal()][VARCHAR.ordinal()] =
PrimitiveType.INVALID_TYPE;
compatibilityMatrix[DATETIME.ordinal()][CHAR.ordinal()] =
PrimitiveType.INVALID_TYPE;
compatibilityMatrix[DATETIME.ordinal()][HLL.ordinal()] =
PrimitiveType.INVALID_TYPE;

compatibilityMatrix[TIME.ordinal()][VARCHAR.ordinal()] = PrimitiveType.VARCHAR;
compatibilityMatrix[TIME.ordinal()][CHAR.ordinal()] = PrimitiveType.VARCHAR;
compatibilityMatrix[TIME.ordinal()][HLL.ordinal()] = PrimitiveType.INVALID_TYPE;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIME.ordinal is bigger than HLL CHAR and VARCHAR, So I think there is some problem here.

@imay imay merged commit abda544 into apache:master Jul 26, 2019
morningman pushed a commit to baidu-doris/incubator-doris that referenced this pull request Jul 28, 2019
@imay imay mentioned this pull request Sep 26, 2019
luwei16 pushed a commit to luwei16/incubator-doris that referenced this pull request Apr 7, 2023
…ache#1544)

Disable the following stmt:
  * AlterRoutineLoadStmt
  * CreateRoutineLoadStmt
  * PauseRoutineLoadStmt
  * ResumeRoutineLoadStmt
  * StopRoutineLoadStmt
  * ShowRoutineLoadStmt
  * ShowRoutineLoadTaskStmt
  * ShowCreateRoutineLoadStmt
SWJTU-ZhangLei added a commit to SWJTU-ZhangLei/incubator-doris that referenced this pull request Jul 25, 2023
…ache#1544)

Disable the following stmt:
  * AlterRoutineLoadStmt
  * CreateRoutineLoadStmt
  * PauseRoutineLoadStmt
  * ResumeRoutineLoadStmt
  * StopRoutineLoadStmt
  * ShowRoutineLoadStmt
  * ShowRoutineLoadTaskStmt
  * ShowCreateRoutineLoadStmt
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

Successfully merging this pull request may close these issues.

None yet

2 participants