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

Added fieldnameprefix property #117

Merged
merged 3 commits into from
Nov 20, 2018
Merged

Conversation

gelin
Copy link

@gelin gelin commented Jan 23, 2013

By default YCSB names the database record fields as “field” + a number.
The new configuration option allows to replace the “field” prefix with
something shorter which affects the data storage size for schema-less databases.

@@ -464,7 +464,7 @@ public void run()
rescode=cli.read("table1", key, s, result);
*/
HashSet<String> scanFields = new HashSet<String>();
scanFields.add("field1");
scanFields.add("field1"); //TODO: remove hardcoded field prefix
Copy link
Contributor

Choose a reason for hiding this comment

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

@gelin would it be possible to use the dynamic prefix field you added in the PR?

busbey added a commit to busbey/YCSB that referenced this pull request Sep 9, 2018
 Conflicts:
	core/src/main/java/com/yahoo/ycsb/workloads/CoreWorkload.java
	doc/coreproperties.html
	hbase/src/main/java/com/yahoo/ycsb/db/HBaseClient.java
@busbey busbey added core and removed hbase labels Sep 9, 2018
@busbey busbey merged commit fddf3e6 into brianfrankcooper:master Nov 20, 2018
busbey added a commit that referenced this pull request Nov 20, 2018
[core] Handle merge conflicts for #117 and update it for newer bindings that reference field name prefix
@busbey busbey mentioned this pull request Jun 4, 2019
@busbey busbey mentioned this pull request Sep 21, 2019
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.

4 participants