Skip to content

Commit eed94b1

Browse files
author
Luke Bakken
committed
Ensure table name will start with an alpha
1 parent eaed848 commit eed94b1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Test/Integration/TS/TimeseriesTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,11 @@ public void Query_Create_Table()
165165
{
166166
string tableName = Guid.NewGuid().ToString();
167167
string sqlFmt = string.Format(
168-
@"CREATE TABLE {0} (geohash varchar not null,
169-
user varchar not null,
170-
time timestamp not null,
171-
weather varchar not null,
172-
temperature double,
168+
@"CREATE TABLE RTS-{0} (geohash varchar not null,
169+
user varchar not null,
170+
time timestamp not null,
171+
weather varchar not null,
172+
temperature double,
173173
PRIMARY KEY((geohash, user, quantum(time, 15, m)), geohash, user, time))",
174174
tableName);
175175
var cmd = new Query.Builder()

0 commit comments

Comments
 (0)