Mining Stack Overflow for Discovering Error Patterns in SQL Queries

被引:0
|
作者
Nagy, Csaba [1 ]
Cleve, Anthony [1 ]
机构
[1] Univ Namur, PReCISE Res Ctr, Namur, Belgium
关键词
SQL; Mining Stack Overflow; Error Patterns; Code Clones; Recommendation Systems;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Constructing complex queries in SQL sometimes necessitates the use of language constructs and the invocation of internal functions which inexperienced developers find hard to comprehend or which are unknown to them. In the worst case, bad usage of these constructs might lead to errors, to ineffective queries, or hamper developers in their tasks. This paper presents a mining technique for Stack Overflow to identify error-prone patterns in SQL queries. Identifying such patterns can help developers to avoid the use of error-prone constructs, or if they have to use such constructs, the Stack Overflow posts can help them to properly utilize the language. Hence, our purpose is to provide the initial steps towards a recommendation system that supports developers in constructing SQL queries. Our current implementation supports the MySQL dialect, and Stack Overflow has over 300,000 questions tagged with the MySQL flag in its database. It provides a huge knowledge base where developers can ask questions about real problems. Our initial results indicate that our technique is indeed able to identify patterns among them.
引用
收藏
页码:516 / 520
页数:5
相关论文
共 50 条
  • [1] Mining and relating design contexts and design patterns from Stack Overflow
    Laksri Wijerathna
    Aldeida Aleti
    Tingting Bi
    Antony Tang
    [J]. Empirical Software Engineering, 2022, 27
  • [2] Mining and relating design contexts and design patterns from Stack Overflow
    Wijerathna, Laksri
    Aleti, Aldeida
    Bi, Tingting
    Tang, Antony
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2022, 27 (01)
  • [3] Mining Successful Answers in Stack Overflow
    Calefato, Fabio
    Lanubile, Filippo
    Marasciulo, Maria Concetta
    Novielli, Nicole
    [J]. 12TH WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2015), 2015, : 430 - 433
  • [4] Mining Duplicate Questions in Stack Overflow
    Ahasanuzzaman, Muhammad
    Asaduzzaman, Muhammad
    Roy, Chanchal K.
    Schneider, Kevin A.
    [J]. 13TH WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2016), 2016, : 402 - 412
  • [5] Evolving SQL queries for data mining
    Salim, M
    Yao, X
    [J]. INTELLIGENT DATA ENGINEERING AND AUTOMATED LEARNING - IDEAL 2002, 2002, 2412 : 62 - 67
  • [6] Discovering Top Experts for Trending Domains on Stack Overflow
    Sumanth, Polisetty
    Rajeshwari, K.
    [J]. 8TH INTERNATIONAL CONFERENCE ON ADVANCES IN COMPUTING & COMMUNICATIONS (ICACC-2018), 2018, 143 : 333 - 340
  • [7] Patterns of interest change in stack overflow
    Chenbo Fu
    Xinchen Yue
    Bin Shen
    Shanqing Yu
    Yong Min
    [J]. Scientific Reports, 12
  • [8] Patterns of interest change in stack overflow
    Fu, Chenbo
    Yue, Xinchen
    Shen, Bin
    Yu, Shanqing
    Min, Yong
    [J]. SCIENTIFIC REPORTS, 2022, 12 (01)
  • [9] Mining Technology Landscape from Stack Overflow
    Chen, Chunyang
    Xing, Zhenchang
    [J]. ESEM'16: PROCEEDINGS OF THE 10TH ACM/IEEE INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING AND MEASUREMENT, 2016,
  • [10] Discovering SQL Queries from Examples using Intelligent Algorithms
    Martins, Denis Mayr Lima
    Vossen, Gottfried
    de Lima Neto, Fernando Buarque
    [J]. 2018 IEEE LATIN AMERICAN CONFERENCE ON COMPUTATIONAL INTELLIGENCE (LA-CCI), 2018,