Meta data gone when referencing custom model

I have created my own model from and sql query. I filled in all of the meta data including column names.

Issue: When I reference the model in an sql as such SELECT * FROM {{#1}} AS my_model, the resulting output does not show the column names I assigned them in the meta data. For example, I renamed the FROM_UNIXTIME(table_alias.create_time) column as "date" in the metadata, however when I query the model it just display FROM_UNIXTIME(table_alias.create_time) as the column not, not "date".

Why is this happening and how can I solve it.

Thanks

Diagnostic Info

{
"browser-info": {
"language": "en-US",
"platform": "Win32",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "11.0.15+10",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "https://adoptium.net/",
"java.version": "11.0.15",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.15+10",
"os.name": "Linux",
"os.version": "4.15.0-172-generic",
"user.language": "en",
"user.timezone": "Asia/Shanghai"
},
"metabase-info": {
"databases": [
"h2",
"mysql"
],
"hosting-env": "unknown",
"application-database": "mysql",
"application-database-details": {
"database": {
"name": "MySQL",
"version": "5.7.26-log"
},
"jdbc-driver": {
"name": "MariaDB Connector/J",
"version": "2.7.5"
}
},
"run-mode": "prod",
"version": {
"date": "2022-05-16",
"tag": "v0.43.1",
"branch": "release-x.43.x",
"hash": "7f1a1c4"
},
"settings": {
"report-timezone": null
}
}
}

Hi @pjhaberman
It sounds like you are seeing this issue:
https://github.com/metabase/metabase/issues/20624 - upvote by clicking :+1: on the first post
Or perhaps one of the other Model issues:
https://github.com/metabase/metabase/issues?q=is%3Aopen+is%3Aissue+label%3AQuerying%2FModels

Thanks, I'll check it out.