2

I have the following query (mysql):

SELECT *
FROM people PARTITION (p202108, p202109)
WHERE city='new york'

here it is in my python code - using sqlalchemy, but I didn't find how to add the partitions

res = People.query.filter(People.city = 'new york').all()

how can I add the partitions to the query?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.