As the topic,I want create the dynamic schema query.Because can not know the number of attr in the array when I query.And I want to get the all data of some schema in one query.
I am assuming that you are looking for a way to access the array schema information before you submit a query, e.g., how many dimensions, attributes, etc. If that is the case, TileDB provides you with ways to get the schema of any existing array. Please see the docs for more details: https://docs.tiledb.com/developer/api-usage/reading-arrays/reading-the-array-schema
I hope this helps.