Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Conversation

@DongLiang-0
Copy link
Contributor

Since the data is converted into string type in the data reading of doris, we need to process the string type specifically here.

Related PR: https://github.com/QuesmaOrg/quesma/blob/main/platform/database_common/quesma_communicator.go#L228

@DongLiang-0 DongLiang-0 requested a review from a team as a code owner July 23, 2025 07:50

func (query *DateHistogram) getKey(row model.QueryResultRow) int64 {
return row.Cols[len(row.Cols)-2].Value.(int64)
value := row.Cols[len(row.Cols)-2].Value
Copy link
Contributor

@pdelewski pdelewski Jul 23, 2025

Choose a reason for hiding this comment

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

look below

Copy link
Contributor

@pdelewski pdelewski left a comment

Choose a reason for hiding this comment

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

Seems that these 2 functions are the same. Please extract one helper function and use it in both places

@pdelewski
Copy link
Contributor

/run-it

@pdelewski pdelewski added this pull request to the merge queue Jul 23, 2025
Merged via the queue into QuesmaOrg:main with commit b68c888 Jul 23, 2025
7 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants