Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Y
YCSB
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adnan Ahmad
YCSB
Commits
d6e57c3f
Commit
d6e57c3f
authored
7 years ago
by
Kevin Risden
Committed by
Sean Busbey
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[jdbc] Use `TEXT` for fields instead of VARCHAR (#910)
parent
035310c5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
jdbc/src/main/java/com/yahoo/ycsb/db/JdbcDBClient.java
+1
-1
1 addition, 1 deletion
jdbc/src/main/java/com/yahoo/ycsb/db/JdbcDBClient.java
jdbc/src/main/java/com/yahoo/ycsb/db/JdbcDBCreateTable.java
+1
-1
1 addition, 1 deletion
jdbc/src/main/java/com/yahoo/ycsb/db/JdbcDBCreateTable.java
with
2 additions
and
2 deletions
jdbc/src/main/java/com/yahoo/ycsb/db/JdbcDBClient.java
+
1
−
1
View file @
d6e57c3f
...
...
@@ -39,7 +39,7 @@ import com.yahoo.ycsb.db.flavors.DBFlavor;
*
* <br>
* This interface expects a schema <key> <field1> <field2> <field3> ... All
* attributes are of type
VARCHAR
. All accesses are through the primary key.
* attributes are of type
TEXT
. All accesses are through the primary key.
* Therefore, only one index on the primary key is needed.
*/
public
class
JdbcDBClient
extends
DB
{
...
...
This diff is collapsed.
Click to expand it.
jdbc/src/main/java/com/yahoo/ycsb/db/JdbcDBCreateTable.java
+
1
−
1
View file @
d6e57c3f
...
...
@@ -73,7 +73,7 @@ public final class JdbcDBCreateTable {
for
(
int
idx
=
0
;
idx
<
fieldcount
;
idx
++)
{
sql
.
append
(
", FIELD"
);
sql
.
append
(
idx
);
sql
.
append
(
"
VARCHAR
"
);
sql
.
append
(
"
TEXT
"
);
}
sql
.
append
(
");"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment