Skip to content

Commit

Permalink
doc: typo in example code
Browse files Browse the repository at this point in the history
  • Loading branch information
shuttie committed Nov 17, 2017
1 parent b4a866a commit feb1efd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class ReadExample {

val client = new ClickhouseClient(host = "localhost", port = 8123)
for {
ddl <- client.execute("create table simple(key String, value: Int32) ENGINE = Memory")
ddl <- client.execute("create table simple(key String, value Int32) ENGINE = Memory")
insert <- client.execute("""insert into simple values ("a",1),("b",2)""")
rows <- client.query("select * from simple order by value asc").map(_.data.map(_.as[Simple]))
} yield {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ReadExample {

val client = new ClickhouseClient(host = "localhost", port = 8123)
for {
ddl <- client.execute("create table simple(key String, value: Int32) ENGINE = Memory")
ddl <- client.execute("create table simple(key String, value Int32) ENGINE = Memory")
insert <- client.execute("""insert into simple values ("a",1),("b",2)""")
rows <- client.query("select * from simple order by value asc").map(_.data.map(_.as[Simple]))
} yield {
Expand Down

0 comments on commit feb1efd

Please sign in to comment.