| 2 | |
| 3 | The solution is http://rasdaman.org/ticket/1850#comment:4 but in C++, it needs something like this in Python: https://stackoverflow.com/a/42655487/2028440 |
| 4 | |
| 5 | However, current GRPC version for rasdapy is still beta so `options` parameter does not exist. Hence, it needs to update GRPC for rasdapy. |
| 6 | |
| 7 | Rasdapy folder exists at `rasdaman/applications/rasdapy` and what need to do first is installing GRPC for python: |
| 8 | |
| 9 | {{{ |
| 10 | sudo pip install grpcio-tools |
| 11 | pip install -U protobuf (version 3.6) |
| 12 | }}} |
| 13 | |
| 14 | There is a python script to generate GRPC files at `rasdapy/scripts/stub_generator.py`, however, it needs to use some built GRPC tool, so don't use this one, use this new content: https://pastebin.com/Ha2EXLbk which will generate GRPC files from above installed Python dependencies. |
| 15 | |
| 16 | After that, trying to figure out what changed from the current source code of current rasdapy using beta GRPC with new generated GRPC version. |
| 17 | |
| 18 | Finally, rasql.py should be able to run any rasql query which can be larger than 4 MB. |