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

HAWQ-1196. Added partitons support to HiveOrc profile. #1041

Closed
wants to merge 1 commit into from

Conversation

avocader
Copy link
Contributor

@avocader avocader commented Dec 7, 2016

No description provided.

@@ -254,16 +263,17 @@ void initPartitionFields() {
"Unsupported partition type: " + type);
}
addOneFieldToRecord(partitionFields, convertedType, convertedValue);
numberOfPartitions = partitionFields.size();
Copy link
Contributor

Choose a reason for hiding this comment

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

You can instead just set numberOfPartitions after the for loop is complete

@avocader avocader closed this Dec 7, 2016
@avocader avocader deleted the HAWQ-1196 branch December 7, 2016 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants