Opendistro-sql build failed

This is likely caused by JDK version mismatch. Since ODFE reached its end of life, you can try the new opensearch-sql: GitHub - opensearch-project/sql: Query your data using familiar SQL or intuitive Piped Processing Language (PPL)