[CT-2332] [CT-2330] [Bug] Documentation for csv files is not displaying the table name in the Example SQL section
- Dominant language
- JavaScript
- Stars
- 161
- Forks
- 91
- PR merge metrics
- No merged PRs in 30d
Description
### Is this a new bug in dbt-core?
- [X] I believe this is a new bug in dbt-core
- [X] I have searched the existing issues, and I could not find an existing issue for this bug
### Current Behavior
after running dbt docs serve, the documentation tied to a seed csv file is not showing the table name in the example SQL section. Instead of the table name, it is displaying undefined.
### Expected Behavior
The table name should be displayed in the section Example SQL
### Steps To Reproduce
1. Create documentation for a seed file
2. dbt docs generate
3. dbt docs serve
4. Navigate to the seed documentation
5. Check what's in the section Example SQL
### Relevant log output
_No response_
### Environment
```markdown
- OS: Mac OS monterrey 12.5.1
- Python: Python 3.8.9
- dbt: 1.3.1
```
### Which database adapter are you using with dbt?
postgres
### Additional Context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.