{% extends 'metastore_browser/base.html' %}
{% block plugin_content %}
Table:
{{ table.dbName }}.{{ table.tableName }}
Column |
Type |
Comment |
{%for col in table.partitionKeys %}
{{ col.name }} (PARTITION) |
{{ col.type }} |
{{ col.comment or '' }} |
{% endfor %}
{%for col in table.sd.cols %}
{{ col.name }} |
{{ col.type }} |
{{ col.comment or '' }} |
{% endfor %}
Attribute |
Value |
{%for k, v in table.__dict__.items() %}
{% if v and k not in ('sd', 'partitionKeys', 'tableName', 'parameters') %}
{{ k }} |
{% if k.endswith('Time') %}
{{ datetime.fromtimestamp(int(v)).isoformat() }} |
{% else %}
{{ v }} |
{% endif %}
{% endif %}
{% endfor %}
Parameter |
Value |
{%for k, v in table.parameters.items() %}
{% if v and k not in [] %}
{{ k }} |
{% if k.endswith('Time') %}
{{ datetime.fromtimestamp(int(v)).isoformat() }} |
{% else %}
{{ v }} |
{% endif %}
{% endif %}
{% endfor %}
{% endblock %}
{% block tail %}
{{ super() }}
{% endblock %}