Raise in query
if dtype is not supported
#9921
Merged
query
if dtype is not supported
#9921