Optimized points (window functions) of sparksql over hivesql
Sometimes, a select statement contains multiple window functions whose window definitions (OVER clauses) may be the same or different.
For the same windows, there is no need to partition and sort them again. We can merge them into a Window operator.
such as The realization principle of window function in spark and hive Case in:
select i ...
Added by serverman on Tue, 07 Apr 2020 17:52:21 +0300
Research on the dynamic update scheme of Android multi language
This article starts with WeChat official account of vivo Internet technology. Links: https://mp.weixin.qq.com/s/jG8rAjQ8QAOmViiQ33SuEg Author: Chen Long
Recent projects need to support dozens of languages. Many small languages seem to be the same as garbled code in the eyes of people who don't know them. Translation is generally transl ...
Added by liamloveslearning on Tue, 07 Apr 2020 13:20:15 +0300
ActiveMQ's three server high availability cluster construction scheme
1. High availability cluster construction scheme
Node A: synchronize messages with node B, node C, so node a, node B, node C can be used as consumer access nodes
Node B: as master node, as producer access node and consumer access node
Node C: as slave node of slave, as producer access node and consumer access node. When the master node is ...
Added by solus on Mon, 06 Apr 2020 03:38:17 +0300
java delete all null values in list
java delete all null values in list
This article introduces how to delete all null values in the list, which are implemented in the normal Java way, Guava, Apache Commons Collections and java8 lambda expression way.
Normal java mode
The java Collection framework provides a simple solution through the basic while loop:
@ ...
Added by craigerjs on Sat, 04 Apr 2020 08:40:55 +0300
[rhel6.5] several errors in nagios configuration
1. Click on the topology map and no graphics information will appear. This error is caused by the lack of GD devel installation treasure;
[root@server20 nagios-cn-3.2.3]# yum install /mnt/nagios/gd-devel-2.0.35-11.el6.x86_64.rpm -y
403 error occurred when using command to detect httpd service status, which is caus ...
Added by jimrains on Fri, 03 Apr 2020 01:51:46 +0300
Using opennlp to customize named entities
order
This paper mainly studies how to use opennlp to customize named entity, label training and model application.
maven
<dependency>
<groupId>org.apache.opennlp</groupId>
<artifactId>opennlp-tools</artifactId>
<version>1.8.4</version>
</dependency ...
Added by lorddemos90 on Thu, 02 Apr 2020 23:34:12 +0300
Configuring mybatis in spring project
There are many ways to integrate mybatis in spring, which can be fully xml configured or annotated. A simple configuration method is recorded here.
Project directory:
1. Reference the maven configuration of the jar package.
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jd ...
Added by ViralStef on Tue, 31 Mar 2020 23:20:32 +0300
Mybatis framework III: DAO layer development, Mapper dynamic agent development
Here is the basic construction: http://www.cnblogs.com/xuyiqing/p/8600888.html
Next, we did simple addition, deletion, modification and query: http://www.cnblogs.com/xuyiqing/p/8601506.html
But we found that there were too many duplicate codes
Next, integrate and implement DAO development:
1: Original DAO development:
package dao;
import ...
Added by jomofee on Tue, 31 Mar 2020 22:11:25 +0300
Talk about GRPCStreamServiceStatus of skywalking
order
This paper mainly studies grpcstream service status of skywalking
GRPCStreamServiceStatus
skywalking-6.6.0/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/remote/GRPCStreamServiceStatus.java
public class GRPCStreamServiceStatus {
private static final ILog logger = LogManager.getLogger(GRPCStreamServiceSta ...
Added by s_dhumal on Sat, 28 Mar 2020 16:38:26 +0200
ActiveMQ Installation and Use
Introduction to ActiveMQ: https://my.oschina.net/u/4284277/blog/3212385
SpringBoot Integrates ActiveMQ: https://my.oschina.net/u/4284277/blog/3212387
MQ theoretical knowledge: https://my.oschina.net/u/4284277/blog/3212391
1. Installation
Official website: http://activemq.apache.org/
Baidu Disk Address:
Link: https://pan.baidu.com/s/1A55X- ...
Added by jmcc on Fri, 27 Mar 2020 07:57:54 +0200