Skip to content

Conversation

@EmmyMiao87
Copy link
Contributor

This commit check the all of parsed columns include hadoop functions and other functions.
Otherwise, the load will thrown the "Column has no default value" exception while the column also has been defined by a non-hadoop function.

This commit check the all of parsed column include hadoop function and other function.
Otherwise, the load will thrown the "Column has no default value" exception while the column also has been defined by a non-hadoop function.
@EmmyMiao87 EmmyMiao87 added the kind/fix Categorizes issue or PR as related to a bug. label Aug 30, 2019
@EmmyMiao87 EmmyMiao87 requested a review from morningman August 30, 2019 09:33
Copy link
Contributor

@morningman morningman left a comment

Choose a reason for hiding this comment

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

LGTM

}
}

// check hll
Copy link
Contributor

Choose a reason for hiding this comment

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

hll_hash is a kind of hadoop function, so here we use columnToHadoopFunction to check only HLL column is correct.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep

@morningman morningman merged commit 06b87d9 into apache:master Aug 30, 2019
@imay imay mentioned this pull request Sep 26, 2019
chaoyli added a commit to chaoyli/incubator-doris that referenced this pull request Jan 28, 2021
…fault value. (apache#1728)

One Tablet have three replicas, the compaction progress is different.
Considering the following scenario, replica A have 3 versions(1, 2, 3);
replica B have 2 versions(1-2, 3);
replicat C have 1 versions(1-3).
Now a column named city been added with default zero 1.
Replica A will be resulted as 3, replica B results as 2,
replica C results as 1.

So there is a necessity to restrict the default value to zero for SUM aggreagation column.
swjtu-zhanglei pushed a commit to swjtu-zhanglei/incubator-doris that referenced this pull request Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/fix Categorizes issue or PR as related to a bug.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants