it's correct that we don't cache scripts today since we can't guarantee that a user doesn't have any API calls in their scrips that violates the requirements for caching. In particular this is that scripts are idempotent. There are possibilities today to theoretically call a date API that takes now() into account. We might be able to revisit this behavior. Would you mind opening an issue on our github tracker and mention me there, the handle is the same
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.