refactor: Update CellData.sql to modify bandwidth handling and adjust Configure.json for user credentials and metadata settings
This commit is contained in:
+3
-15
@@ -1,15 +1,3 @@
|
|||||||
SELECT * FROM `cellinfo`;
|
UPDATE cellinfo SET `带宽` = IF(`带宽` IS NULL OR `带宽` = '', '0M', CONCAT(REPLACE(UPPER(`带宽`),'M',''), 'M'));␍
|
||||||
DROP TABLE IF EXISTS `4G`;
|
␍
|
||||||
DROP TABLE IF EXISTS `5G`;
|
# 后续实现通过cellinfo表处理为扇区表,支撑扇区容量分析
|
||||||
DROP TABLE IF EXISTS `4G_Date`;
|
|
||||||
DROP TABLE IF EXISTS `4G_MAX`;
|
|
||||||
DROP TABLE IF EXISTS `CCE_MAX`;
|
|
||||||
DROP TABLE IF EXISTS `ULPRB_MAX`;
|
|
||||||
DROP TABLE IF EXISTS `DLPRB_MAX`;
|
|
||||||
DROP TABLE IF EXISTS `4G_MAX_IDX`;
|
|
||||||
DROP TABLE IF EXISTS `CCE_MAX_IDX`;
|
|
||||||
DROP TABLE IF EXISTS `ULPRB_MAX_IDX`;
|
|
||||||
DROP TABLE IF EXISTS `DLPRB_MAX_IDX`;
|
|
||||||
DROP TABLE IF EXISTS `日流量`;
|
|
||||||
DROP TABLE IF EXISTS `4G日均流量`;
|
|
||||||
DROP TABLE IF EXISTS `4G_结果表`;
|
|
||||||
+9
-6
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"Update": "2026/06/25 05:17:26",
|
"Update": "2026/06/26 05:38:36",
|
||||||
"SourceType": "sftp",
|
"MetrixEnabled": false,
|
||||||
|
"SourceType": "external",
|
||||||
"WarehouseType": "mysql",
|
"WarehouseType": "mysql",
|
||||||
"MySQL_DBInfo": {
|
"MySQL_DBInfo": {
|
||||||
"host": "127.0.0.1",
|
"host": "127.0.0.1",
|
||||||
@@ -191,7 +192,7 @@
|
|||||||
"protocol": "sftp",
|
"protocol": "sftp",
|
||||||
"host": "127.0.0.1",
|
"host": "127.0.0.1",
|
||||||
"port": 2022,
|
"port": 2022,
|
||||||
"user": "nixevol",
|
"user": "user1",
|
||||||
"remote_dir": "/CapacityReportData",
|
"remote_dir": "/CapacityReportData",
|
||||||
"passive": true,
|
"passive": true,
|
||||||
"timeout": 30,
|
"timeout": 30,
|
||||||
@@ -202,7 +203,7 @@
|
|||||||
"expected_directories": [],
|
"expected_directories": [],
|
||||||
"week_offset": 0
|
"week_offset": 0
|
||||||
},
|
},
|
||||||
"passwd": "242520"
|
"passwd": "123456"
|
||||||
},
|
},
|
||||||
"CellData": {
|
"CellData": {
|
||||||
"remote_data": {
|
"remote_data": {
|
||||||
@@ -210,7 +211,7 @@
|
|||||||
"protocol": "sftp",
|
"protocol": "sftp",
|
||||||
"host": "127.0.0.1",
|
"host": "127.0.0.1",
|
||||||
"port": 2022,
|
"port": 2022,
|
||||||
"user": "nixevol",
|
"user": "user1",
|
||||||
"remote_dir": "/",
|
"remote_dir": "/",
|
||||||
"passive": true,
|
"passive": true,
|
||||||
"timeout": 30,
|
"timeout": 30,
|
||||||
@@ -221,7 +222,7 @@
|
|||||||
"expected_directories": [],
|
"expected_directories": [],
|
||||||
"week_offset": 0
|
"week_offset": 0
|
||||||
},
|
},
|
||||||
"passwd": "242520"
|
"passwd": "123456"
|
||||||
},
|
},
|
||||||
"mysql": {
|
"mysql": {
|
||||||
"host": "127.0.0.1",
|
"host": "127.0.0.1",
|
||||||
@@ -234,6 +235,8 @@
|
|||||||
"/网优日常优化数据文档/日常性能报表/{maxyear}年/300表"
|
"/网优日常优化数据文档/日常性能报表/{maxyear}年/300表"
|
||||||
],
|
],
|
||||||
"year_dir_regex": "(?P<year>\\d{4})年",
|
"year_dir_regex": "(?P<year>\\d{4})年",
|
||||||
|
"month_dir_regex": "(?P<month>\\d{1,2})月",
|
||||||
|
"day_dir_regex": "(?P<day>\\d{1,2})日",
|
||||||
"file_name_regex": "^Result_300_.*\\.zip$",
|
"file_name_regex": "^Result_300_.*\\.zip$",
|
||||||
"file_time_regex": "(?P<timestamp>\\d{14})(?=\\.zip$)",
|
"file_time_regex": "(?P<timestamp>\\d{14})(?=\\.zip$)",
|
||||||
"mapping": {
|
"mapping": {
|
||||||
|
|||||||
Reference in New Issue
Block a user