Created
June 1, 2022 16:01
-
-
Save vmarkovtsev/4f7f5a41b66c48eea2e66a991a4b3a18 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dtype = np.dtype([("a", int), ("b", datetime64[s])], metadata={"blocks": True}) | |
query = set_query_dtype("SELECT 777, '2022-01-01'::timestamp", dtype) | |
arr, nulls = await connection.fetch(query) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment