ktaborski opened a new issue, #62216:
URL: https://github.com/apache/airflow/issues/62216
### Apache Airflow Provider(s)
amazon
### Versions of Apache Airflow Providers
```
[SQL: INSERT INTO dag_bundle (name, active, version, last_refreshed,
signed_url_template, template_params) VALUES (%(name)s, %(active)s,
%(version)s, %(last_refreshed)s, %(signed_url_template)s,
%(template_params)s::JSON)]
[parameters: {'name': 'xxx', 'active': True, 'version': None,
'last_refreshed': None, 'signed_url_template':
'.eJxtjssKwjAQRf8la9PBXXXdSd0L_kCYJmMV8iIzqaj471Zw6e5yOBzuS7UaVK-uIoV7AMeFZ8eeZu1c1R4FtbB0vOkw4jMnvHPncoTxluBrtMXXXXNeYMwJLoTSKsEwnPXaGLO1v7Xb20MN9jRTDfiwR5zA48RqpcaWfCCbMNLy5E9UvT9njzrW.pxYlmE5D9-SfT3MD6JbPWvRqheM',
'template_params': '{}'}]
(Background on this error at: https://sqlalche.me/e/20/9h9h)
Traceback (most recent call last):
File
"/home/airflow/.local/lib/python3.12/site-packages/sqlalchemy/engine/base.py",
line 1967, in _exec_single_context
self.dialect.do_execute(
File
"/home/airflow/.local/lib/python3.12/site-packages/sqlalchemy/engine/default.py",
line 952, in do_execute
cursor.execute(statement, parameters)
psycopg2.errors.StringDataRightTruncation: value too long for type character
varying(200)
```
Not sure, what's the limit. In above log bucket name has 23 chars, prefix =
72
config snippet:
```
[dag_processor]
dag_bundle_config_list = [ { "name": "xxx", "classpath":
"airflow.providers.amazon.aws.bundles.s3.S3DagBundle", "kwargs": {
"bucket_name": "32-chars-string", "prefix": "72-chars-string" } }
]stream-common/feature/CCR-12226_CCR-12289_Arl_Overlay_Dag/dags" } } ]
```
### Apache Airflow version
3.1.7
### Operating System
AWS EKS bottlerocket
### Deployment
Official Apache Airflow Helm Chart
### Deployment details
_No response_
### What happened
dag processor failed to parse dags
### What you think should happen instead
dag processor should parse dags regardless of prefix size
### How to reproduce
please configure s3 bundle with long prefix
### Anything else
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]