Re: [sqlalchemy] UnicodeDecode error on sqlalchemy select query

2015-08-26 Thread Simon King
On Tue, Aug 25, 2015 at 6:43 PM, Abhishek Sharma wrote: > Hi Team, >We are executing select query using > self.session.query(Model).filter(filter_conditions).first() > > Then we are storing the about query result in result variable. > Then we are trying to update one of model attr

[sqlalchemy] How to ignore indexes in my dialect?

2015-08-26 Thread Bouke van der Bijl
Hi, I'm working on a dialect for Redshift. Redshift is peculiar in that it doesn't support indexes, instead it saves things in a certain sort order. I'd like to simply ignore any CreateView DDL statement that's executed, but I was wondering how I go about implementing this. I've already tried

Re: [sqlalchemy] How to ignore indexes in my dialect?

2015-08-26 Thread Mike Bayer
On 8/26/15 8:02 PM, Bouke van der Bijl wrote: Hi, I'm working on a dialect for Redshift. you don't need to work on a Redshift dialect. There are already two, though I believe these are going to merge back into each other: https://pypi.python.org/pypi/sqlalchemy-redshift https://github.com/