Skip to content

Can't cast text to date/time types #370

Answered by orware
bgrainger asked this question in Bug Reports
Discussion options

You must be logged in to vote

Hello @bgrainger,

In some aspects this is a similar situation to what's been shared in discussions#369, but it's a bit more obvious in this case.

I am seeing the CAST() function listed over in the following Vitess Issue#9647.

I would have been under the assumption that this particular function already worked, but based on your tests and some I have also completed I can see those same errors you've run into too.

However, your note about things able to work from MySQL Workbench has led me to a clue and essentially a pseudo-workaround that you can experiment with a little further.

Essentially, the main difference I saw in MySQL Workbench was that it added an extra LIMIT/OFFSET at the end:

S…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bgrainger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants