{"task": {"agent_timeout": 3000, "task": "codegen__minio__minio-14406", "verifier_timeout": 3000, "instruction": "This is a code generation task. You are expected to write working code that solves the described problem.\n<issue>\n      ## Expected Behavior\nAs per https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-glacier-select-sql-reference-select.html#s3-glacier-select-sql-reference-from, the \"is not missing\" clause can be used to check for omitted fields.\n\nI uploaded a file with the following content to Amazon S3:\n```\n{\"request\":{\"uri\":\"/1\",\"header\":{\"User-Agent\":\"test\"}}}\n{\"request\":{\"uri\":\"/2\",\"header\":{}}}\n```\n\nQuerying the aforementioned file with the query `select * from s3object[*] as s where s.request.header['User-Agent'] is not missing` results in the first line being returned, as shown below:\n\n```\n$ aws s3api select-object-content --bucket $BUCKET --key test.json --input-serialization 'JSON={Type=LINES},CompressionType=NONE' --output-serialization 'JSON={}' --expression-type SQL --expression \"select * from s3object[*] as s where s.request.header['User-Agent'] is not missing\" output\n$ cat output \n{\"request\":{\"uri\":\"/1\",\"header\":{\"User-Agent\":\"test\"}}}\n```\n\n## Current Behavior\nWhen using minio, running the aforementioned query results in an error:\n\n```\n$ aws s3api select-object-content --profile minio --endpoint-url $MINIO_ENDPOINT --bucket $BUCKET --key test.json --input-serialization 'JSON={Type=LINES},CompressionType=NONE' --output-serialization 'JSON={}' --expression-type SQL --expression \"select * from s3object[*] as s where s.request.header['User-Agent'] is not missing\" output\n\nAn error occurred (InternalError) when calling the SelectObjectContent operation: invalid arithmetic operator\n```\n\n## Possible Solution\nGo isn't exactly my forte but referring to https://github.com/minio/minio/blob/master/internal/s3select/sql/parser.go I didn't find \"missing\" as being one of the recognized keywords, therefore I suspect it is not implemented at this time.\n\n## Steps to Reproduce (for bugs)\nPlease see above.\n\n## Context\nI'm trying to query JSON files where a certain field is missing.\n\n## Regression\nNo\n\n## Your Environment\n* Version used (`minio --version`): RELEASE.2022-02-18T01-50-10Z\n* Server setup and configuration: Minio running in single filesystem mode\n* Operating System and version (`uname -a`): ```Linux storage1 5.4.0-96-generic #109-Ubuntu SMP Wed Jan 12 16:49:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux```\n\n</issue>\nFocus on implementing the required functionality correctly and efficiently. Treat this as a programming challenge.\nYou are not allowed to read git history.\n", "memory": "8192m", "runnable": false, "difficulty": "hard", "language": "", "cpus": "", "instruction_truncated": false, "category": "code-generation", "compose": false, "has_solution": true, "oracle": null, "docker_image": "", "taskset": "devopsgym", "tags": ["code-generation", "devops-bench"]}, "runs": []}