QiangCai opened a new pull request #3078: [WIP] Support show lru command
URL:
https://github.com/apache/carbondata/pull/3078
list lru size of the tables in current database
```
$> show lru
+--------+-----+----------+---------------+
|database|table|index size|dictionary size|
+--------+-----+----------+---------------+
|ALL |ALL |6252 |81528 |
|lru_db |ALL |1845 |81528 |
|lru_db |lru_1|599 |81528 |
|lru_db |lru_2|1246 |0 |
+--------+-----+----------+---------------+
$> show lru on table lru_db.lru_2
+--------+-----+----------+---------------+
|database|table|index size|dictionary size|
+--------+-----+----------+---------------+
|lru_db |lru_2|1246 |0 |
+--------+-----+----------+---------------+
```
- [x] Any interfaces changed?
no
- [x] Any backward compatibility impacted?
no
- [x] Document update required?
yes, added a new command
- [x] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
add test case
- How it is tested? Please attach test report.
yes
- Is it a performance related change? Please attach the performance test report.
no
- Any additional information to help reviewers in testing this change.
added
- [x] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
small changes
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[hidden email]
With regards,
Apache Git Services