[ https://issues.apache.org/jira/browse/HIVE-25301?focusedWorklogId=617594&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-617594 ]
ASF GitHub Bot logged work on HIVE-25301: ----------------------------------------- Author: ASF GitHub Bot Created on: 01/Jul/21 12:50 Start Date: 01/Jul/21 12:50 Worklog Time Spent: 10m Work Description: ayushtkn commented on pull request #2440: URL: https://github.com/apache/hive/pull/2440#issuecomment-872219324 **Output from Beeline using Mysql as backend DB::** ``` 0: jdbc:hive2://XX> show create table sys.notification_log; +----------------------------------------------------+ | createtab_stmt | +----------------------------------------------------+ | CREATE EXTERNAL TABLE `sys`.`notification_log`( | | `nl_id` bigint COMMENT 'from deserializer', | | `event_id` bigint COMMENT 'from deserializer', | | `event_time` int COMMENT 'from deserializer', | | `event_type` varchar(32) COMMENT 'from deserializer', | | `cat_name` varchar(256) COMMENT 'from deserializer', | | `db_name` varchar(128) COMMENT 'from deserializer', | | `tbl_name` varchar(256) COMMENT 'from deserializer', | | `message` string COMMENT 'from deserializer', | | `message_format` varchar(16) COMMENT 'from deserializer') | | ROW FORMAT SERDE | | 'org.apache.hive.storage.jdbc.JdbcSerDe' | | STORED BY | | 'org.apache.hive.storage.jdbc.JdbcStorageHandler' | | WITH SERDEPROPERTIES ( | | 'serialization.format'='1') | | TBLPROPERTIES ( | | 'bucketing_version'='2', | | 'hive.sql.database.type'='METASTORE', | | 'hive.sql.query'='SELECT `NL_ID`, `EVENT_ID`, `EVENT_TIME`, `EVENT_TYPE`, `CAT_NAME`, `DB_NAME`, `TBL_NAME`, `MESSAGE`, `MESSAGE_FORMAT` FROM `NOTIFICATION_LOG`', | | 'transient_lastDdlTime'='1625143579') | +----------------------------------------------------+ 21 rows selected (0.206 seconds) 0: jdbc:hive2://XX> select * from notification_log LIMIT 1; +-------------------------+----------------------------+------------------------------+------------------------------+----------------------------+---------------------------+----------------------------+----------------------------------------------------+----------------------------------+ | notification_log.nl_id | notification_log.event_id | notification_log.event_time | notification_log.event_type | notification_log.cat_name | notification_log.db_name | notification_log.tbl_name | notification_log.message | notification_log.message_format | +-------------------------+----------------------------+------------------------------+------------------------------+----------------------------+---------------------------+----------------------------+----------------------------------------------------+----------------------------------+ | 1 | 1 | 1625044586 | CREATE_DATABASE | hive | SYS | NULL | H4sIAAAAAAAAAHWPywqDMBRE/yVrm/iu9RO6KrgqZBP1lgR8kRtfiP/eaFYWuppzZwaGuxEEPYEmOSHeyaqCl1ZdpQbROLcurRbv4sQn9p09N04CTnIraLQFfhQ42T1Ooqsv6w/mjIl1RBncQuqA6r43VM4LRWUgz/zQZ7PQIPsRgRlRNoCDqIDBYkB3omFSTcBwRVqXbif92bG5C+4uUFFoITic7F/1cammYeLHcZKl+25/NaoFNKIdLskXSccXWTEBAAA= | gzip(json-2.0) | +-------------------------+----------------------------+------------------------------+------------------------------+----------------------------+---------------------------+----------------------------+----------------------------------------------------+----------------------------------+ ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 617594) Time Spent: 20m (was: 10m) > Expose notification log table through sys db > -------------------------------------------- > > Key: HIVE-25301 > URL: https://issues.apache.org/jira/browse/HIVE-25301 > Project: Hive > Issue Type: Improvement > Reporter: Ayush Saxena > Assignee: Ayush Saxena > Priority: Major > Labels: pull-request-available > Time Spent: 20m > Remaining Estimate: 0h > > Expose the notification_log table in RDBMS through Hive sys database -- This message was sent by Atlassian Jira (v8.3.4#803005)