1.环境 ubuntu16.04 gerrit 2.问题 branch-1的本地修改落后于远程。需要将远程修改pull到本地。但是pull之后本地会出现多个提交,无法 将 merge信息推送到远程。原因:two different commits for the same changes 3.解决方 ...
分类:
其他好文 时间:
2017-07-08 13:24:43
阅读次数:
194
在使用datastage开发的时候,遇到错误: SQL*Loader-951: Error calling once/load initialization ORA-00604: error occured at recursive SQL level 1 ORA-00054: resource b ...
分类:
数据库 时间:
2017-07-07 14:27:13
阅读次数:
418
参考来自:https://stackoverflow.com/questions/1109061/insert-on-duplicate-update-in-postgresql/1109198#1109198 功能需求:接口定义中包含字段update,当它为true时,批量插入中有记录造成唯一键重 ...
分类:
数据库 时间:
2017-07-07 13:30:00
阅读次数:
298
Sublime Text3是每个web前端程序员的必备神器,其中有许多便利的功能及插件。下面列出一些在开发中比较实用的快捷操作,可以极大地提高代码的编写速度及效率。 l 在文档中输入代码,即使忘记保存,下次也不会消失 l 可以直接在编辑器中打开预览图片 l Edit→Line→Duplicate l ...
分类:
其他好文 时间:
2017-07-06 20:57:30
阅读次数:
216
1.添加PRIMARY KEY(主键索引) mysql>ALTER TABLE `table_name` ADD PRIMARY KEY ( `column` ) 2.添加UNIQUE(唯一索引) mysql>ALTER TABLE `table_name` ADD UNIQUE ( `column ...
分类:
数据库 时间:
2017-07-04 20:26:59
阅读次数:
274
Connect to Spark from R. The sparklyr package provides a complete dplyr backend. Filter and aggregate Spark datasets then bring them into R for analys ...
分类:
编程语言 时间:
2017-07-04 14:43:19
阅读次数:
409
即使采用pipeline的方式,函数f对依赖的RDD中的数据集合的操作也会有两种方式: 1.f(record),f作用于集合的每一条记录,每次只作用于一条记录 2.f(records),f一次性作用于集合的全部数据; Spark采用的是第一种方式,因为: 1.无需等待,可以最大化的使用集群的计算资源 ...
分类:
其他好文 时间:
2017-07-03 23:58:53
阅读次数:
454
题目 Given inorder and postorder traversal of a tree, construct the binary tree. Note: You may assume that duplicates do not exist in the tree. 方法 依据树的中 ...
分类:
其他好文 时间:
2017-07-02 12:26:46
阅读次数:
244
??Ever wish you could use a workflow to update related/child records? For example, when I update the address on an account, update the address on all ...
分类:
其他好文 时间:
2017-07-01 00:11:01
阅读次数:
202
We have modal implement and now we want to implement close functionality. Becuase we use a structure directive to do open modal on click functionality ...
分类:
其他好文 时间:
2017-06-30 21:03:59
阅读次数:
159