openego / data_processing

(geo)data processing, database setup, data validation
GNU Affero General Public License v3.0
7 stars 5 forks source link

obj_description seems not to be defined #325

Closed OriolRaventos closed 5 years ago

OriolRaventos commented 5 years ago

The following SQL function by preprocesing.py in the ego_pre_slp_parameters.sql:

https://github.com/openego/data_processing/blob/d0c2da7464e02af63edcab627dad934f757038c3/preprocessing/sql_snippets/ego_pre_slp_parameters.sql#L71

seems not to be defined in any part of the module. It is not clear what it should be doing.

nesnoj commented 5 years ago

PostgreSQL docs say obj_description reads the comment of a table. So it's metadata-related, I think it converts the string comment to json format. It's used in many (if not all) table creation scripts..

OriolRaventos commented 5 years ago

Yes, you are right. I overlooked that.