Skip to content
Snippets Groups Projects
Commit d6e57c3f authored by Kevin Risden's avatar Kevin Risden Committed by Sean Busbey
Browse files

[jdbc] Use `TEXT` for fields instead of VARCHAR (#910)

parent 035310c5
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
......@@ -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(");");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment