Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
*.pyc

# Logs and databases #
######################
*.log

# OS generated files #
######################
.DS_Store*
ehthumbs.db
Icon?
Thumbs.db
2 changes: 1 addition & 1 deletion scripts/generate_timeuuid_example.pig
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ account_w_timeuuid = FOREACH account GENERATE
first_name AS first_name,
last_name AS last_name,
GenerateTimeUUID() AS my_time_uuid;

account_cassandra = FOREACH account_w_timeuuid GENERATE FLATTEN(ToCassandraBag(key, first_name, last_name, my_time_uuid)) AS (
key: chararray,
first_name: chararray,
Expand Down
2 changes: 1 addition & 1 deletion udf/src/main/java/org/pygmalion/udf/ToCassandraBag.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public Schema outputSchema(Schema input) {
builder.append(OUTPUT_DELIM);
}
}

UDFContext context = UDFContext.getUDFContext();
Properties property = context.getUDFProperties(ToCassandraBag.class);
property.setProperty(getSchemaKey(), builder.toString());
Expand Down