It worked! I don’t need transaction for now! This is great! Thanks a lot!! :) :D
> On 24-Aug-2021, at 9:52 PM, Jeremy Evans <[email protected]> wrote: > > On Tue, Aug 24, 2021 at 9:10 AM Vysakh Sreenivasan <[email protected] > <mailto:[email protected]>> wrote: > Thanks a lot for the detailed reply, Jeremy! Appreciate it much! > > I had tried the dataset solution, it hadn’t worked. Attached screenshot of > the error. I suspect there are lot of things happening in Sequel::Model to > sync the table to the Model. I think I have to check the function approach > which overrides the schema just like you had suggested for def DB.tables. > > I will give it few more tries with other approaches. The Rockset client > expects the schema name explicitly, I suspect that would be the reason. > > Thank you for the great library! Have a great day! > > Regards, > Vysakh > > <Screenshot 2021-08-24 at 9.36.02 PM.png> > > > This looks like Rocksetdb doesn't support BEGIN/ROLLBACK (used for > transactions). You'll have to write a custom jdbc subadapter to support > Rocksetdb, at least for the transaction handling. Alternatively, if you > don't care about transactions: > > def DB.transaction(*) > yield > end > > Thanks, > Jeremy > > -- > You received this message because you are subscribed to a topic in the Google > Groups "sequel-talk" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/sequel-talk/QjzbU5ZgTiY/unsubscribe > <https://groups.google.com/d/topic/sequel-talk/QjzbU5ZgTiY/unsubscribe>. > To unsubscribe from this group and all its topics, send an email to > [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sequel-talk/CADGZSSd55x8gecRpv6ZVw2eAbWBXr1-JjJNHfFNYdivfsOV_uA%40mail.gmail.com > > <https://groups.google.com/d/msgid/sequel-talk/CADGZSSd55x8gecRpv6ZVw2eAbWBXr1-JjJNHfFNYdivfsOV_uA%40mail.gmail.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/2A756807-5050-4117-9CB8-83EE964BA9F6%40pipesort.com.
