bippio / go-impala

Golang Driver for Apache Impala

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect replacement when there > 10 positional parameters

dtjm opened this issue · comments

I think I'm running into a bug when there are more than 10 position parameters. The 10th, 11th, 12th, etc parameters are replaced by the value of the first one.

My guess is that in this function here, something like @p10 would be replaced by the value of @p1.

https://github.com/bippio/go-impala/blob/master/statement.go#L101

Thanks for the quick turnaround!