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

Ignore missing values for declared fields during sink to HBase #46

Closed
wants to merge 1 commit into from

Conversation

grighetto
Copy link

Sometimes not all values will be available for the declared fields, so the HBaseScheme has to allow for sinking even when there are missing values.
In my scenario, I have some records coming from a CSV file, but some columns are missing, which prevented me from sinking to HBase.
So, I added a "strict" flag that, when set to false, ignores null values (by default this flag is set true, to keep it backwards compatible).
This is similar to the "strict" flag used in Cascading's TextDelimited scheme.

for ignoring null values during the sink. This is similar to the strict
option available in Cascading's TextDelimited scheme.
Also, removed unused variable and import.
@johnynek
Copy link
Contributor

johnynek commented Feb 7, 2014

sorry we didn't merge this yet. This repo is a bit hard for us to manage. We are moving it into the scalding repo as a separate artifact, but still Java only. If you would like to resubmit this patch, please do:

twitter/scalding#779

@johnynek johnynek closed this Feb 7, 2014
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.

2 participants