kdb+/q Developer Level 2 Capstone: Exercise 2.1 date casting error

Hello all,

I am encountering an error on the level 2 fundamentals capstone with exercise 2.1 regarding the data casting of the expiry column to a date. In the console, I see that the change has persisted and am returning this column properly as a date, but this not passing the required test case.

I have attached outputs below. If needed, I can also provide my code. I have noticed that many others have also had a similar problem, but those solutions cannot seem to resolve my specific error.

image

image

1 Answer

1

Hi @devdatta.kasture ,

Thanks for your message.

The meta of the messages table should be:

image

And the meta optRef should be like this:

If you need some help in finding where your code is going wrong, feel free to forward it to me at devrel@kx.com and I can step through it and suggest some corrections.

Hope this helps,

Laura