Issue #2 resolved

integer cast regression failure

Clark C. Evans avatarClark C. Evans created an issue

Francisco via email report

I am having trouble with portions of the INSTALL.

  • I am running Debian (Lenny) with Postgres 8.3.
  • I have upgraded all the required applications (setuptools,simplejson, PyYAML, psycopg2) because the defaults provided by Debian are too old.
  • But I still get the following when running `make test`
  > make test
  htsql-ctl regress -i test/regress.yaml -q
    GET /{integer(string('X'))}
    ("test/input/pgsql.yaml", line 199)
  === the test output is changed
    @@ -3,6 +3,4 @@
     engine failure: error while executing "SELECT CAST('X' AS
  INTEGER)": invalid input syntax for integer: "X"
    -                    ^
  *** unexpected test output
  Fatal error: a test failed

Comments (2)

  1. Kirill Simonov
    • changed status to open

    An error is expected here, but the test harness complains because the error message is different from what it expects. I'll make the test completely ignore the error message.

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.