Skip to content

VirtualColumns: Block virtual columns with empty names.#4367

Merged
gianm merged 2 commits intoapache:masterfrom
gianm:se-vc-block
Jun 6, 2017
Merged

VirtualColumns: Block virtual columns with empty names.#4367
gianm merged 2 commits intoapache:masterfrom
gianm:se-vc-block

Conversation

@gianm
Copy link
Copy Markdown
Contributor

@gianm gianm commented Jun 6, 2017

No description provided.

Map<String, VirtualColumn> withDotSupport = Maps.newHashMap();
Map<String, VirtualColumn> withoutDotSupport = Maps.newHashMap();
for (VirtualColumn vc : virtualColumns) {
if (vc.getOutputName() == null || vc.getOutputName().isEmpty()) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could use Strings.isNullOrEmpty

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Changed it

@b-slim
Copy link
Copy Markdown
Contributor

b-slim commented Jun 6, 2017

👍

@gianm gianm added this to the 0.10.1 milestone Jun 6, 2017
@gianm gianm merged commit d22db30 into apache:master Jun 6, 2017
@gianm gianm deleted the se-vc-block branch June 6, 2017 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants