dolt: Error: [2057] when fetching remote table at non-HEAD commit following schema change using as of

Trying to fetch non-HEAD commits produces an error if schema has been changed when using the doltr R package.

Error: The number of parameters in bound buffers differs from number of columns in resultset [2057]

doltr issue #46

I’ll post dolt server logs this evening

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 20 (15 by maintainers)

Most upvoted comments

We were able to reproduce.

We think it is a bug related to the calculation of the return size of the query not matching what Dolt actually sends back. The R or MariaDB client uses this information and errors on mismatch. Other clients we’ve tested don’t seem to do this or we just have not tested them thoroughly enough.